Summary: | Fix for JavaScript error during checkout patron search | ||
---|---|---|---|
Product: | Koha | Reporter: | Owen Leonard <oleonard> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Small patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | 19641 | ||
Bug Blocks: | |||
Attachments: | Bug 20221 - Fix for JavaScript error during checkout patron search |
Description
Owen Leonard
2018-02-15 19:42:00 UTC
Created attachment 71694 [details] [review] Bug 20221 - Fix for JavaScript error during checkout patron search This patch fixes a bug caused by the changes in Bug 19641. JavaScript embedded in circ-patron-search-results.inc executes before jQuery is loaded. This patch adds a separate javascript file which can be included both in circulation.tt and request.tt since both use the same include. To test, apply the patch and submit a patron name in the check out form. On the page of search results, clicking a table row should work the same as clicking the patron name link. Perform the same test during the hold process: Locate and place a hold on a title. In the patron search form, submit a patron name and test the behavior of the search results screen. Pushed to master, thanks Owen! |