Bug 28117 - Provide a way to strip special characters for placeholders in OPACOPACSearchForTitleIn
Summary: Provide a way to strip special characters for placeholders in OPACOPACSearchF...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 03:33 UTC by Eugene Espinoza
Modified: 2023-07-01 07:34 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
OPACSearchForTitleIn (70.45 KB, image/png)
2021-04-09 03:33 UTC, Eugene Espinoza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Espinoza 2021-04-09 03:33:41 UTC
Created attachment 119342 [details]
OPACSearchForTitleIn

In OPACSearchForTitleIn, we give a way for OPAC users to search for similar materials in other libraries. Placeholders available are: {BIBLIONUMBER}, {CONTROLNUMBER}, {TITLE}, {ISBN}, {ISSN} and {AUTHOR}. If for example the author is a conference name, this would mean this placeholder will have extra characters like open and close parenthesis: "(" ")" and semi-colons. If this search query will be passed to InternetArchive Scholar, it will have a query parser error because the query format is like below: 
author:('query search')
So if the author is "Jose Rizal National Centennial Commission (1961: Manila)", the corresponding search query will be:
author:('Jose Rizal National Centennial Commission "(1961:" Manila)')
So I propose for a new system preference that will let you add special characters to ignore for placeholders.