How can I make the searchbox of a pages section find filenames?

Hi,

I’m quite new to Kirby, so maybe I overlooked something. I have a page with some lists of subpages using a table view and enabled the search feature on it. That works fine, bit it cannot find filenames of files attached to the subpages. Because the files have an important role for that data, I want to enable my users to use that filter/search box to quickly find those pages by their files.

I could add some create/update hooks and maintain a hidden list of filenames. I tried that and it works quite well, but that seems a bit odd to me, as it introduces a weird redundancy of data. Is there a better way? The global file search already can find files by their name, but my users expect this also from the local filter box above the listing.

And, another related question: I’m showing the files in a column of the table layout of the pages list, which works well, but the files are not clickable from there, despite their links are available in the data objects that are transferred to the frontend. Is there a way to enable the default file list component to link the files directly? I could not find any documentation on that. And also on the table layout itself. Can it sort the columns? Can I customize the filter logic?

Thanks in advance!