Bug 20803

Summary: Cannot search to hold or use print options from API keys interface
Product: Koha Reporter: Lee Jamison <ldjamison>
Component: PatronsAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, kyle.m.hall, martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/members/apikeys.pl
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 20568    
Bug Blocks:    
Attachments: Bug 20803: Cannot search to hold or use print options from API keys interface
Bug 20803: Cannot search to hold or use print options from API keys interface

Description Lee Jamison 2018-05-22 17:45:43 UTC
Users cannot perform a search to hold or use any print options from the API keys screen.

To reproduce:
1. Navigate to Manage API keys page from Patron record > More > Manage api keys
2. Attempt to click search to hold or use any print options
Comment 1 Owen Leonard 2018-05-22 17:51:48 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2018-05-22 18:04:54 UTC
Created attachment 75478 [details] [review]
Bug 20803: Cannot search to hold or use print options from API keys interface

This patch adds a required JS asset to the patron API key interface.
Without it, JS-based functions in the toolbar do not work.

To test you must have RESTOAuth2ClientCredentials enabled.

 - From a patron detail page, choose More -> Manage API keys.
 - Test the toolbar buttons on this page, especially "Search to hold"
   and the various print options.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 3 Jonathan Druart 2018-05-24 16:45:22 UTC
Pushed to master for 18.05, thanks Owen!