Bug 26458

Summary: Get item details using only itemnumber
Product: Koha Reporter: Owen Leonard <oleonard>
Component: Staff interfaceAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, lucas
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26473
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.11.00
Circulation function:
Bug Depends on:    
Bug Blocks: 5697    
Attachments: Bug 26458: Get item details using only itemnumber
Bug 26458: Get item details using only itemnumber
Bug 26458: Get item details using only itemnumber

Description Owen Leonard 2020-09-14 16:55:42 UTC
Right now in order to get item information on moredetail.pl you must pass at least a biblionumber or a biblionumber and itemnumber. I would like to make it so that it will accept an itemnumber all by itself.
Comment 1 Owen Leonard 2020-09-14 18:28:56 UTC Comment hidden (obsolete)
Comment 2 David Nind 2020-09-15 11:37:15 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2020-09-15 19:53:09 UTC
Created attachment 110122 [details] [review]
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>
Comment 4 Jonathan Druart 2020-10-01 09:45:57 UTC
Pushed to master for 20.11, thanks to everybody involved!
Comment 5 Lucas Gass (lukeg) 2020-10-20 17:30:20 UTC
enhancement will not be backported to 20.05.x