Sorting table by min/max values
-
Hello xnau and community! (Thanks for this awesome plugin, xnau).
I’m using the PDB for a runners website. I want to store data all around running events (date, time, track, etc.) for multiple people using a field group called running.
To display the minimum times of a person out of all collected records, I need to know how to filter min/max values. I can not find any option. (Except using list_limit=1 and order=desc. Problem there is I don’t want visible pagination.)
Furthermore, I want to display those minimum times from different running tracks (e. g. 10k and marathon) within one table instead of two tables. Problem is that I’m using a checkbox field to select the track for easier .csv-import.
Expectation:
Track – Time – Date – etc.
10k – Minimum time – Date – etc.
Marathon – Minimum time – Date – etc.Reality:
Track – Time – Date – etc.
10k – Minimum time – Date – etc.
Track – Time – Date – etc.
Marathon – Minimum time – Date – etc.So right now I can only realize this by using the pdb_list filter=… two times which is too much.
To put it all in a nutshell:
How can I sort a pdb_list by min/max values?
How can I display several records within one table, that have different (predefined) checkbox values?
Is there any way to just display like 1 or 5 records without pagination?Help highly appreciated!
Thank you!
- The topic ‘Sorting table by min/max values’ is closed to new replies.