If you want to use a template search, here is the code @chaley provided in
this topic:
Code:
template:"""program:has_extra_files()#@#:b:yes"""
Just copy and paste the whole code above on the search bar.
Now, if you want to use a 'Column icon', this is how you do it:
Preferences > Look & feel > Column icons : Add advanced rule
In the new dialog opened:
1) Chose the column you want to display the icon
2) Select the icon from the dropdown menu and press the copy button next to it (you will need this on the code below)
3) If the icon you want is not there, you need to add it ('Add icon' button).
4) Use this template:
Code:
program:
if has_extra_files()
then 'ok.png'
fi
5) Replace 'ok.png' with the icon name you copied in step 2
6) Click OK, then Apply
Now, in the library view, you will see an icon on the column you chose when the book has one or more extra files.