Order by

AfADaDa1

New member
Hi,

I have a film database similar to the one in the demo and i also have a costum template for my films. My question is : Is there a way that the user can select by which parameter he order the list (title, year, duration, ...) ?
Thanks
Have a good day
Florian


You are using DaDaBIK version 9.4-Monterosso enterprise, installed on 08-06-2019 (installation code: 142225c234f511eb07), the latest version of DaDaBIK is 9.4-Monterosso released on 07-23-2019

You are runnning the last release of DaDaBIK

PHP Version: 7.1.31

mysql version: 5.5.5-10.1.40-MariaDB

Web server: Apache

Client: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
 

eugenio

Administrator
Staff member
Hello,
unfortunately, if you use a custom template, you don't have the "sort by" controls. We should probably add a listbox for that.

If you can add links somewhere to force the order (maybe one or two additional menu items having type = internal link?), you can call something like:

index.php?tablename=YOURTABLE&function=search&order=YOURFIELD&order_type=ASC&page=0

to sort by a field, going back to page 0 and leave the current search filter.

Best,
 
Top