Skip to content

Commit

Permalink
Merge pull request Aspen-Discovery#1917 from Abhyastamita/24.08.00
Browse files Browse the repository at this point in the history
Fix for call number searches not returning expected results
  • Loading branch information
mdnoble73 authored Jul 22, 2024
2 parents c3782c9 + 179f770 commit 52a5c2e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions code/web/release_notes/24.08.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@

// katherine
### Other Updates
- Fixed bug with unexpected 404 errors on Web Builder pages. (Ticket 123122) (*KP*)
- Fix bug with unexpected 404 errors on Web Builder pages. (Ticket 123122) (*KP*)

### cloudLibrary Updates
- Add the ability to use alternate library cards (such as state library cards) with cloudLibrary (Ticket 69336, 133101) (*KP*)
- Add the ability to use alternate library cards (such as state library cards) with cloudLibrary. (Ticket 69336, 133101) (*KP*)

### Search Updates
- Fix bug where call number searches were not returning expected results. (Ticket 135530) (*KP*)

// alexander
### Summon Updates
Expand Down
2 changes: 1 addition & 1 deletion code/web/sys/SolrConnector/Solr.php
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ private function _buildMungeValues($lookfor, $custom = null, $basic = true) {
$cleanedQuery = str_replace('', '"', $cleanedQuery);
$cleanedQuery = str_replace('', '"', $cleanedQuery);
// Fix for date ranges
$cleanedQuery = preg_replace("/([0-9a-zA-Z])([-.])([0-9a-zA-Z])/", "$1 $3", $cleanedQuery);
$cleanedQuery = preg_replace("/([0-9a-zA-Z])([-])([0-9a-zA-Z])/", "$1 $3", $cleanedQuery);
// Fix for ordinal numbers
$cleanedQuery = preg_replace("/([0-9])([a-zA-Z])/", "$1 $2", $cleanedQuery);
$cleanedQuery = str_replace('-', '\-', $cleanedQuery);
Expand Down

0 comments on commit 52a5c2e

Please sign in to comment.