[Koha-bugs] [Bug 14752] Add multiple copies to a basket at once

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 22 22:44:07 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14752

--- Comment #8 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #6)
> QA comments:
> 1/  (window.MSG_ADDITEM_JS_UPDATEITEM || "Update item    ")
> If the string is not defined, there is something wrong in the code, we
> should not provide a hardcoded string

Fixed!  I copied that from existing code and fixed there too


> 2/ When I click on the "add multiple" button, I get a JS error "TypeError:
> document.f is undefined"
> And the behavior if weird: I get the "Invalid number of copies" even if I
> enter "2", it may come from the JS error.

This was a copy paste error, removed the code. I can't replicate the 'Invalid
number' though, hoping fixing the error clears that for you.  I checked firefox
and chromium on Ubuntu

> 3/ If I am not wrong, the barcode could be sent, the next one will be
> generated.

I am not sure what you mean.  If barcode is listed in the UniqueItemFields
(default) I don't pass barcode into generated records but I do leave it in the
form.  If it isn't in UniqueItemFields it is passed as is (copied multiple
times) and left in the form. It seems tricky because the items are not created
until you hit save at the bottom, so incrementing could cause conflicts with
autoincrement if others are cataloging at the same time. Thoughts?

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


More information about the Koha-bugs mailing list