Questions tagged [sorting]

Sorting is the process of applying some order to a collection of items.

Filter by
Sorted by
Tagged with
1
vote
0answers
32 views

List.direction and list.ordering not set properly after changing filter sorting

I am creating a small backend component using the helloworld example. So far so good. It is working fine except when I change the ordering using the listbox: Nothing happens to list.ordering and list....
1
vote
0answers
42 views

How do I sort articles in category blog using a custom field value?

I have created a custom field date and added content to the articles of a category. How can I now sort the articles in the category blog overview by this field? What should a blog.php and blog_item....
1
vote
1answer
54 views

How to change custom field order in field group?

For articles, I have created two custom fields and I have registered both in a field group -- this much is fine. Now I would like to change the order in which the fields are displayed on the page. I ...
3
votes
1answer
212 views

Musicians only need certain music arrangements

In my spare time I run a big band swing group that consists of 22 people (18 musicians, and 4 singers). Each musician/singer needs to download their part for a particular song's arrangement (E.g. bass ...
1
vote
1answer
146 views

How to sort title of items with natural sort order?

When you have in a column a list of items such as: Title1 Title2 ... Title10 Title11 and you filter on Title (alphabetically), the output is like: Title1 Title10 Title11 Title2 I want it to sort ...
2
votes
1answer
895 views

Cannot order articles in the correct order

I would like to put my artciles in order of date, you would think this is simple, since the options are in the menu item. Im using joomla 3.6 and for troubleshoting I have a fresh install, I have ...
1
vote
1answer
81 views

Override order_date but query.php not working

I am looking for a solution to sort a Category-Blog by 'unpublish-date'. What i have done so far: created an own menu-style by copyingblog.xml, blog.php, blog-item.php and blog-links.php to my-*.* ...
0
votes
1answer
94 views

How to sort a fabricated column in my view that I've stitched together with data from multiple columns?

I have a view that displays a list of data from a table (I'm targeting Joomla! 3.5+). However, I fabricated a column that stitches data together after some manipulation. I do this in the getItems() ...
2
votes
2answers
749 views

Backend column sorting does not work correctly

I have custom component and in one of views column sorting does not work correctly. It's very weird for me. Always sort in ASC direction... I'll introduce what I have. Model populateState() protected ...
3
votes
2answers
485 views

How to sort my query's results by publish_up value?

I have a .php script that retrieve fields from my database table and then displays them in a foreach loop (here are the relevant parts of the code): <?php $jquery1 = "SELECT `...