tv2regionerne / statamic-reverse-relationship

2 stars 1 forks source link

Pagination/sorting/filtering UI in control panel #2

Open SylvesterDamgaard opened 1 year ago

SylvesterDamgaard commented 1 year ago

The view of the related entries should be paginated to prevent issues with huge datasets. We should also consider adding the usual listing behaviour with search and filter functionality. Perhaps as a UI selection in the fieldtype config

deplorableword commented 3 months ago

👋 appreciate this issue is a little old, but is there currently an option for sorting? I was expecting something like below to work?

{{ broadcasts scope="broadcasts" sort="date:asc" }}
    {{title}}
{{ /broadcasts }}
SylvesterDamgaard commented 3 months ago

👋 appreciate this issue is a little old, but is there currently an option for sorting? I was expecting something like below to work?

{{ broadcasts scope="broadcasts" sort="date:asc" }}
    {{title}}
{{ /broadcasts }}

Not yet. We want to move the response to a query builder instead of the collection. That will make filters and sorting possible.

jacksleight commented 3 months ago

We want to move the response to a query builder instead of the collection.

We should make a separate issue for that, this issue specifically is about the UI in the control panel, whereas the query builder issue is to do with how the values are augmented for the frontend.