Feature #4088
Updated by Tom Clegg about 10 years ago
On "show collection" page: In app/views/collections/_show_files.html.erb: * Add a regexp regex text box * Use existing filterable.js functionality Pass the regex to hide rows that the server in a URL parameter * Skip any files in the collection if they don't match the regexp regex * Add "select all" and / "deselect all" buttons button * Add triggers to checkboxes for select-all and deselect-all Tests: * Collection with some files that match the regex * Collection with all files matching the regex * Collection with no files matching the regex * User enters syntactically invalid regex * Select-all selects all visible files * Deselect-all deselects all visibile files * "Select all → Enter regexp → create collection from selected files" works correctly (e.g., files that were selected but are now invisible do _not_ get included in the new collection)