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

Eric Garcia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #168117|0                           |1
        is obsolete|                            |

--- Comment #2 from Eric Garcia <[email protected]> ---
Created attachment 168151
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168151&action=edit
Bug 37192: Make label printing from the item editor work by accepting the op
add

Some parts of the UI for adding items to a label batch (and there's lots of
different UI to do it) want to POST items to add to a batch, so CSRF
protection switched the op to add an item to cud-add. However, the item
editor needs to create a batch of one from its Actions menu by just opening
a popup, so it wants to GET ?op=add. Accepting both ops will keep all the
variety of UIs happy.

Test plan:
1. Search the catalog for something that will return results, like Perl
2. On any bib that has at least one item, click Edit items
3. In the Actions menu to the left of any item, choose Print label
4. That opened a popup with a 500 error rather than a label batch editor
5. Apply patch, restart_all
6. Repeat step 3, but this time you'll get a label batch editor with your
   item in it.

Signed-off-by: Eric Garcia <[email protected]>

-- 
You are receiving this mail because:
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