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.
Created attachment 6800 [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.
(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.)
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.
(this second one removes some debug code left behind)
Also, going to add returning by item number to this.
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.
Also going to have a bit of internal testing before I mark it signed off.
("needs signed off", that is)
Robin, something to look at in the new year?
I had a crack at rebasing this but there are a lot of conflicts.
We no longer need this, I'm going to knock it on the head.