[Koha-bugs] [Bug 7817] Items Permanent location (shelving location) is set to NULL when item is edited

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 19 05:37:38 CEST 2014


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

--- Comment #12 from David Cook <dcook at prosentient.com.au> ---
So much for not looking into this one, eh? ;)

By the way, I've tested this fix with the "cart_to_shelf.pl" cronjob, and it
works perfectly. 

The "AddItem" and "ModItem" scripts now both properly populate
"permanent_location" from "location" (whereas only "AddItem" did it properly
before).

CartToShelf() doesn't run into the same problem as the Item Editor because it's
using the row from the items table rather than HTML form input, so
permanent_location will already be set correctly when running "ModItem" and
thus not overwritten by "Cart". Same goes for ShelfToCart().

Voila.

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


More information about the Koha-bugs mailing list