Tip : How to display whether a book has added files in "Data files"
I created a custom column:
Lookup name: datafiles
Column header: Data Files
Column type: Column built from other columns (Behaves like a tag)
Template: program: has_extra_files()
Search template: {has_extra_files()}
Show in tag browser: Yes
Sort or search columns by: #It doesn’t matter what I chose, the column always displays the number of additional files.
Now, the column shows the number of added files, and it also appears on the left as a category. This is sorted based on the number of added files. Moreover, the column doesn't have to be visible—I can hide it, and the category will still work.
We worked on this with AI for about an hour.
|