×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Front end Ordering
Veronica
New Member
Posts: 9
8 years 1 month ago #1437
by Veronica
Front end Ordering was created by Veronica
Hi I would like to display the list elements by the backend ordering, by default it's sort by Item ID.
I hope you can help me
Thanks
I hope you can help me
Thanks
Please Log in or Create an account to join the conversation.
Tomasci
New Member
Posts: 17
7 years 9 months ago #1500
by Tomasci
Replied by Tomasci on topic Front end Ordering
Hi Veronica.
I have the same problem. Were you able to fix this?
Thanks
I have the same problem. Were you able to fix this?
Thanks
Please Log in or Create an account to join the conversation.
Ciubas
New Member
Posts: 2
7 years 6 months ago - 7 years 5 months ago #1588
by Ciubas
Replied by Ciubas on topic Front end Ordering
$orderCol = $this->state->get('list.ordering', 'COLUMN_NAME');
$orderDirn = $this->state->get('list.direction', 'DESC');
info: docs.joomla.org/Adding_sortable_columns_...table_in_a_component
$orderDirn = $this->state->get('list.direction', 'DESC');
info: docs.joomla.org/Adding_sortable_columns_...table_in_a_component
Last edit: 7 years 5 months ago by Ciubas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds