Questions tagged [sorting]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
32 views

Order element query by number of related categories

I'm building an entry template that displays related entries to the current entry. To be related, an entry needs to be the same type as the current entry and share at least one category in one of two ...
1
vote
0answers
264 views

Fixed order query

Experiencing a weird issue trying to do a fixed order display of entries. I have a bunch (array) of ids for entries I want to show as fixed order then want to append the remainder of relevant entries ...
1
vote
0answers
59 views

Showing entries in CP only for specific category

I need to sort structure section entries belonging to specific category (entries have category field). With default structure list displayed in CP, i see all entries for this structure type section ...
1
vote
0answers
182 views

Order Entries by Category Fields (with fallback)

This is almost a duplicate of this question I have a section which I want to sort by category field. But the categories are not mandatory. When I apply |group('refSorter.first().title') it will ...
1
vote
0answers
153 views

Query category by price

My client has requested to be able to filter the results page by price via a dropdown, which you can see in the attached screenshot. Basically the results page shows a list of around 15 property ...
1
vote
0answers
101 views

Grouping entries by days in matrix field

So this is proving a lot harder than I thought. I have a 'tours' section containing tours, which all have several departure dates. Those dates are in a matrix field, entry.data. So there's only one ...
0
votes
0answers
26 views

Sort by entry type in admin?

I want the list of entries in admin to allow sorting by entry type. It can sort by any arbitrary field, but not entry type or author (for some weird reason). Is there any way to modify that without ...
0
votes
0answers
48 views

Manually Sorting Sub-Group of Users?

I just built a membership site and created a Member Directory template which includes all users and then a Board Members Directory template which only lists users who have a "Board Member Title" ...
0
votes
0answers
104 views

Performance problems filtering lists

I have a site where I need to paginate and filter a list of businesses by different criteria. In the business entry, I’m using the Reasons plugin tied to about 8 different lightswitches which, when ...