× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Front end Ordering

8 år 1 månad sedan #1437 av Veronica
Front end Ordering skapades av 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

Be Logga in eller Skapa ett konto ansluta till konversationen.

7 år 9 månader sedan #1500 av Tomasci
Svar från Tomasci i ämnet Front end Ordering
Hi Veronica.

I have the same problem. Were you able to fix this?

Thanks

Be Logga in eller Skapa ett konto ansluta till konversationen.

7 år 6 månader sedan - 7 år 5 månader sedan #1588 av Ciubas
Svar från Ciubas i ämnet 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
Last edit: 7 år 5 månader sedan by Ciubas.

Be Logga in eller Skapa ett konto ansluta till konversationen.

Sidan laddades på: 0.050 sekunder
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.