Bug 32418: (follow-up) Remove jQuery, Fix typos in url, add biblio as template param
authorPaul Derscheid <paul.derscheid@lmscloud.de>
Thu, 13 Apr 2023 09:27:31 +0000 (09:27 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Apr 2023 14:35:21 +0000 (11:35 -0300)
commit40d014ec45a581e432fae6a30c9d048b342c987e
tree4f62e0d93220dce07d84efa4a6c95657306e503f
parentef803755f5892ab811a65a55fbb77d7d3d66f551
Bug 32418: (follow-up) Remove jQuery, Fix typos in url, add biblio as template param

To test:
1. Go to any record
2. Hit the edit button on an item in the holdings table
3. Modify the URL so that the query param for the itemnumber is either
    3.1 empty: /cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=384&itemnumber=
    3.2 an itemnumber that doesn't exist:
      /cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=384&itemnumber=9999999999
    3.3 whatever else you come up with..
4. Check the same thing for the dupe option (op=dupeitem)
5. Sign off

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt