Bug 26458: Get item details using only itemnumber
authorOwen Leonard <oleonard@myacpl.org>
Mon, 14 Sep 2020 16:56:21 +0000 (16:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Sep 2020 14:15:33 +0000 (16:15 +0200)
commit3d37f6f08c5e649ec037ba8bba0fa5adcc814b9e
tree258e7417d9f31aabfc36944d09bbe8aba6d50ec5
parent8de7332a35bba62f55f406727ae8a87b6e270984
Bug 26458: Get item details using only itemnumber

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

To test, apply the patch and view a bibliographic record in the
catalog which has one or more items.

 - In the table showing holdings, click the barcode to view the item
   detail page for that item.
 - In the location bar, modify the URL so that it uses only the
   itemnumber parameter, e.g.

   /cgi-bin/koha/catalogue/moredetail.pl?itemnumber=1234

   The page should load correctly, showing information about just that
   item.

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>
catalogue/moredetail.pl