Skip to content

Commit

Permalink
Add further ignores for DSpace 6.x filters
Browse files Browse the repository at this point in the history
dateIssued_page seems to be entirely broken on many instances (or in general?), but more than 10 pages (of 10 values each) should hardly ever be useful anyway since it's a year-based filter on all instances I've seen.
  • Loading branch information
JustAnotherArchivist committed Mar 29, 2022
1 parent a857ebd commit a84a6e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions db/ignore_patterns/dspace6.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "dspace6",
"patterns": [
"/discover\\?((.*&)?filtertype(_\\d+)?=){2}",
"/search-filter\\?(.*&)?filtertype(_\\d+)?=",
"/simple-search\\?((.*&)?(filter_type(_\\d+)?|filtertype)=){2}",
"/simple-search\\?(?=(.*&)?(filter_type(_\\d+)?|filtertype)=)(.*&)?(author|subject|dateIssued)_page=",
"[?&]dateIssued_page=\\d{2,}(&|$)",
"[?&]starts_with="
],
"type": "ignore_patterns"
Expand Down

0 comments on commit a84a6e9

Please sign in to comment.