[Koha-bugs] [Bug 35578] Validate "Where" in OPAC Authority search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 15 01:17:09 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35578

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 159856
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159856&action=edit
Bug 35578: Validate "Where" in OPAC Authority search

This patch adds validation to the "Where" field in OPAC Authority search.

Test plan:
0. Apply the patch and koha-plack --reload kohadev
1. Go to http://localhost:8080/cgi-bin/koha/opac-authorities-home.pl
2. Type "test" into "Term(s)" field
3. Click "Submit"
4. Confirm a result is found

5. Repeat the above using "Where" values of "in the complete record",
"in any heading", and "in main entry"

6. Using the HTML inspector in the browser, change the value of
the selected option of the "marclist" select element to
"this is broken"
7. Click "Submit"
8. Confirm a result is found (ie it's not throwing a fatal error
anymore)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list