Matrix Version:
5.3.2.1
I want to have the letter (button) be disabled when there are no results for that letter. I thought that this behaviour was built into the asset listing asset. But I can’t find it anywhere.
Failing that, I can’t see how it could be done (using JS), because it would need to be done internally when the page loads.
I forgot to add that also, currently when a letter is clicked on that doesn’t have any results for it, the behaviour is that the listing shows the results for “A”. I’ve done some testing, and any request for the page without the query parameters, or where no value is passed, produces a results as if “A” was requested.
Any ideas?