Bug 7362 - Allow searching by item number as a fallback
Summary: Allow searching by item number as a fallback
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Robin Sheat
QA Contact: Ian Walls
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 00:44 UTC by Robin Sheat
Modified: 2015-06-04 23:23 UTC (History)
3 users (show)

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


Attachments
Bug 7362 - allow checkout by item number (23.65 KB, patch)
2011-12-15 04:15 UTC, Robin Sheat
Details | Diff | Splinter Review
Bug 7362 - allow checkout by item number (23.34 KB, patch)
2011-12-15 04:45 UTC, Robin Sheat
Details | Diff | Splinter Review
Bug 7362 - allow returns by item number (41.19 KB, patch)
2011-12-20 04:08 UTC, Robin Sheat
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Sheat 2011-12-15 00:44:53 UTC
If a library has many items not barcoded, then it'd be good to be able to have them do circulation using the item number.

This development will allow using the item number as a fallback if no barcode match was found.

To do:

* Add a syspref that enables falling back to the item number
* When a search is done in the circ interface, and a matching barcode is not found, and the syspref is on:
** Attempt to load an item with a matching item ID and present that.
* Update the template to note that it was searching by item number as well, for error messages.
Comment 1 Robin Sheat 2011-12-15 04:15:46 UTC Comment hidden (obsolete)
Comment 2 Robin Sheat 2011-12-15 04:16:36 UTC
(Not going to mark as "needs signoff" until it's had a bit of internal testing first, but if you want it, here it is.)
Comment 3 Robin Sheat 2011-12-15 04:45:17 UTC
Created attachment 6802 [details] [review]
Bug 7362 - allow checkout by item number

This adds a system preference (CircFallbackItemnumber) that allows the
item number to be used instead of a barcode when issuing items.

It will check the barcode first, but if it isn't found, it'll attempt to
use the item number.

There is also a bit of related refactoring going on, removing some of
the assumption from Koha that every item has a barcode, and using that
as a primary key in the circulatory system.
Comment 4 Robin Sheat 2011-12-15 04:45:57 UTC
(this second one removes some debug code left behind)
Comment 5 Robin Sheat 2011-12-15 23:29:14 UTC
Also, going to add returning by item number to this.
Comment 6 Robin Sheat 2011-12-20 04:08:03 UTC
Created attachment 6879 [details] [review]
Bug 7362 - allow returns by item number

This allows the item number to be provided as a fallback if the item
doesn't have a barcode when returning items.
Comment 7 Robin Sheat 2011-12-20 04:09:15 UTC
Also going to have a bit of internal testing before I mark it signed off.
Comment 8 Robin Sheat 2011-12-20 04:09:34 UTC
("needs signed off", that is)
Comment 9 Chris Cormack 2013-01-01 22:45:31 UTC
Robin, something to look at in the new year?
Comment 10 Chris Cormack 2013-10-05 01:32:26 UTC
I had a crack at rebasing this but there are a lot of conflicts.
Comment 11 Robin Sheat 2014-10-20 23:01:11 UTC
We no longer need this, I'm going to knock it on the head.