I’ve got an asset listing that displays varous metadata fields (title, author, year of publication) for some PDF files I have on Squiz. I’d like to filter this list based on a given year.
So far, I’ve managed to filter the list by hard-coding in a year.
%asset_x% based keywords in the type formats of an asset listing get evaluated separately to %globals_X% keywords, so that kind of keyword comparison won’t work because %globals_X will only get evaluated at the top level and at the end of the page generation in Matrix.
But, a stored search page that filters the list on a stored search value instead would remove the need for keyword modifiers and would only list the assets you need.
Now it all makes sense. The order of evaluation prevents this from working as I expected.
I didn’t get any further with your keyword modifier suggestion, so I’ve built a simple search page that does the job.
And as you say, it removes a lot of the complexity of the asset listing solution.