]> git.koha-community.org Git - koha.git/commit
Bug 26473: Get items for editing using only itemnumber
authorOwen Leonard <oleonard@myacpl.org>
Wed, 16 Sep 2020 15:19:41 +0000 (15:19 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Sep 2020 14:15:33 +0000 (16:15 +0200)
commit8de7332a35bba62f55f406727ae8a87b6e270984
tree7322254328afff3fd1945a4dac2e2f34b3f9c93c
parentd6ddf53ab69cf5f6e0e506b8a39ef782ec47869e
Bug 26473: Get items for editing using only itemnumber

This patch modifies additem.pl so that it can accept an itemnumber as
a single parameter.

To test, apply the patch edit items on a bibliographic record which has
one or more items.

- In the location bar, modify the URL so that it uses only the
  itemnumber parameter, e.g.

  /cgi-bin/koha/cataloguing/additem.pl?itemnumber=12345

  The page should load the correct record's items.

- If you add the "op" parameter it should load the item for editing in
  the form:

  /cgi-bin/koha/cataloguing/additem.pl?itemnumber=12345&op=edititem

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
cataloguing/additem.pl