fields list on picture is when i want use SORT BY option, not search option
-
This reply was modified 8 years ago by
master331.
Hi @master331
Maybe this would meet your need :
[pdb_list search_fields=time,owner,code ] (assuming time, owner and code are the name of the field in your database)
I will try. Orderby=”dare,ownrr,code” still showing all fields
i want use SORT BY option, not search option
Try orderby=date,owner,code
with lowercase and no quotes
then i got this https://imgur.com/qn77s3A
this is full code i need
[pdb_list search=true pdb_list search_fields=time,owner,device pdb_list template=edit-link pdb_list filter=”servis=auto marko” sort=true orderby fields=time,owner]
You can’t determine the fields available in the sort dropdown in the shortcode. You have to do this on the Manage Database Fields page…each field has a “sortable” option. Only fields that are labeled “sortable” can appear in the sorting dropdown, so you can control which fields are available for sorting that way.