Bug 4927

Summary: Remove doubled call number entry from OPAC advanced search page
Product: Koha Reporter: Jane Wagner <jwagner>
Component: SearchingAssignee: Marc Véron <veron>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: magnus, nengard, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 4927 - OPAC advanced search has two call number entries; remove one?
0001-SIGNED-OFF-Bug-4927-OPAC-advanced-search-has-two-cal.patch
[PASSED QA] Bug 4927 - OPAC advanced search has two call number entries; remove one?

Description Jane Wagner 2010-07-01 19:22:37 UTC
In the OPAC advanced search, with More Options selected, two Call Number entries show in the search pulldown.  The first one is searching the item-level call number:

<option value="callnum">Call Number</option>

The second one, under the Standard Number section, seems to be searching an index (lccn) for the call number in the bib record -- I verified this by searching something in the 050 that wasn't in the item call number.  I don't know if this includes Dewey callnums or just LC callnums, but it seems redundant to me in any case.

Any objections to removing this second Call Number search from the OPAC advanced search?  It isn't present in the staff advanced search.
Comment 1 Nicole C. Engard 2010-07-03 13:16:36 UTC
No objections here - in fact I thought I had fixed that already ....
Comment 2 Magnus Enger 2013-01-15 15:02:53 UTC
Both options are still present:

<option value="callnum">Call number</option>
<option value="lcn,phr">     Call number</option>
Comment 3 Katrin Fischer 2014-07-20 21:39:05 UTC
This is still valid.
Comment 4 Marc Véron 2014-08-03 19:48:19 UTC Comment hidden (obsolete)
Comment 5 Nicole C. Engard 2014-08-07 21:47:50 UTC Comment hidden (obsolete)
Comment 6 Katrin Fischer 2014-08-15 09:50:39 UTC
Created attachment 30822 [details] [review]
[PASSED QA] Bug 4927 - OPAC advanced search has two call number entries; remove one?

This patch removes the second Call number entry in OPAC Advanced search with Advanced option (for bootstrap).

To test:
- Go to OPAC, Advanced search, enable Advaced options
- In dropdowns you see two entries "Call number"
- Apply patch
- Verify that the second "Call number" has disappeared (below ISSN)

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Template change only - no problems found.
Comment 7 Tomás Cohen Arazi (tcohen) 2014-09-18 01:18:14 UTC
Patch pushed to master.

Thanks Marc!