Bug 23941 - Searching by Control Number doesn't return bibs in the "reservoir"
Summary: Searching by Control Number doesn't return bibs in the "reservoir"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-31 19:26 UTC by Cori Lynn Arnold
Modified: 2019-11-11 21:46 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cori Lynn Arnold 2019-10-31 19:26:18 UTC
Steps to reproduce issue:

1. Import a record with a control number field (001) into the catalog using the "Stage MARC records for import" tool
2. Import the same record, but only into the "reservoir" (i.e. do not use the "Staged MARC record management" tool)
3. Go to /cgi-bin/koha/cataloguing/addbooks.pl and enter the ControlNumber from the record in step 1 & 2.

Result: 
1 record found in Catalog, 0 records found in "reservoir"

Expected Result:
1 record found in Catalog, 1 record found in "reservoir"

https://paste.pics/88c103d917029fa29e229b683b322260
Comment 1 Jonathan Druart 2019-11-11 13:37:54 UTC
It seems that only title, author and isbn are supported by this search.

We could extend it to the full MARC records but that may return too many results.
Comment 2 Cori Lynn Arnold 2019-11-11 14:05:38 UTC
I'm not sure I understand what you mean by "It seems that only title, author and isbn are supported by this search." 

Only title, author and isbn are supported by the *Reservoir* search, but other fields are supported by the *Catalog* search. Why not support the SAME search over both sets?
Comment 3 Cori Lynn Arnold 2019-11-11 21:21:27 UTC
I specifically think this is a *BUG* and not an enhancement. If the interface lets you search and provides result sets, than it should return results from both places when searching for the same thing.
Comment 4 Katrin Fischer 2019-11-11 21:46:19 UTC
(In reply to Cori Lynn Arnold from comment #3)
> I specifically think this is a *BUG* and not an enhancement. If the
> interface lets you search and provides result sets, than it should return
> results from both places when searching for the same thing.

The records in the catalog are searched using Zebra, the reservoir records are not indexed by Zebra and can only be searched with SQL, that's why they don't work the same and it would be hard to make them, unless we decided to make an index for the reservoir records as well I think.