https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31323

Phil Ringnalda <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=39570
         Depends on|                            |27526
                 CC|                            |[email protected]

--- Comment #3 from Phil Ringnalda <[email protected]> ---
Attachment 125605 from bug 27526 removed an uncommented and thus unclear
"$itemnumber = q{};" which used to unset the itemnumber once the code for
editing an existing item was done using it.

My first impulse was to just fix this problem in the template by making the
condition for setting the active class be "[% IF op == 'cud-saveitem' AND
item.itemnumber == itemnumber %]" rather than just "[% IF item.itemnumber ==
itemnumber %]" since op == 'cud-saveitem' is what we use elsewhere to know
whether we are adding or editing, but then realizing we have bug 39570 made me
think we should probably go back to not passing an itemnumber when we don't
mean it.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27526
[Bug 27526] Remove Mod/AddItemFromMarc from additem.pl
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to