English > Development
Sorting using a Custom Field during export.
John666:
In the %OPTIONS% section at the beginning of the template files there is an entry for ‘sortby=’. My question is… How do I sort on a custom field?
I have tried everything I can think of but all that happens is the output is sorted by some other method, I assume the ID.
Is this possible or have I been wasting my time trying?
nostra:
It is not possible
John666:
Thanks for letting me know. Is it something that will be implemented in the new release?
Just another thought... Is it possible to copy the information I have entered into the custom field over to a standard field, for example I don’t use the Barcode field.
I have over 1000 entries and it would take hours to go and modify all of them manually.
And, is it possible to sort by more than one field in templates, so that you have a primary and secondary sort in differing directions?
rick.ca:
--- Quote ---Just another thought... Is it possible to copy the information I have entered into the custom field over to a standard field, for example I don’t use the Barcode field.
--- End quote ---
Yes. Export the custom field (along with Title and Year to identify the record), then import it to Barcode.
John666:
--- Quote ---Yes. Export the custom field (along with Title and Year to identify the record), then import it to Barcode.
--- End quote ---
Thanks, that will save me a lot of time.
Any suggestions on sorting by more than one field in templates?
What I am trying to do is first sort by the contents of the 'Barcode' field and then by 'Title'.
The reason for this is that I am using the Barcode field to group specific types of records but I want them to be sorted by title within the groups.
If I just sort by the barcode field the titles are out of order.
Navigation
[0] Message Index
[#] Next page
Go to full version