Bug 24569

Summary: Cannot add to basket if it is the only action
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: AcquisitionsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: 1joynelson, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
20.05.00
Circulation function:
Bug Depends on: 23031    
Bug Blocks:    
Attachments: Bug 24569: (bug 23031 follow-up) Fix "add to basket" link
Bug 24569: (bug 23031 follow-up) Fix "add to basket" link
Bug 24569: (bug 23031 follow-up) Fix "add to basket" link
Bug 24569: (QA follow-up) Fix closing <a> tag

Description Nick Clemens (kidclamp) 2020-02-03 18:47:36 UTC
When "Add to basket" is the only action the modal is not created so one cannot add to the basket from booksellers.pl

Regression caused by Bug 23031
Comment 1 Jonathan Druart 2020-02-04 09:45:38 UTC
Created attachment 98367 [details] [review]
Bug 24569: (bug 23031 follow-up) Fix "add to basket" link

The modal needs to be defined in both cases.
Comment 2 Jonathan Druart 2020-02-04 09:53:28 UTC
Created attachment 98369 [details] [review]
Bug 24569: (bug 23031 follow-up) Fix "add to basket" link

The modal needs to be defined in both cases.

Test plan:
Repeat test plan from bug 23031 and click on the buttons!
Comment 3 Nick Clemens (kidclamp) 2020-02-04 12:37:52 UTC
Created attachment 98384 [details] [review]
Bug 24569: (bug 23031 follow-up) Fix "add to basket" link

The modal needs to be defined in both cases.

Test plan:
Repeat test plan from bug 23031 and click on the buttons!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 4 Nick Clemens (kidclamp) 2020-02-04 12:37:55 UTC
Created attachment 98385 [details] [review]
Bug 24569: (QA follow-up) Fix closing <a> tag

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 5 Nick Clemens (kidclamp) 2020-02-04 12:38:11 UTC
Small fix, passing QA
Comment 6 Martin Renvoize (ashimema) 2020-02-04 13:39:19 UTC
Nice work everyone!

Pushed to master for 20.05
Comment 7 Joy Nelson 2020-02-11 00:07:03 UTC
dependencies missing in 19.11.x  Not backported