Bug 23065

Summary: 'New subscription' button in serials sometimes uses a blank form and sometimes defaults to current serial
Product: Koha Reporter: Nick Clemens <nick>
Component: SerialsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: colin.campbell, fridolin.somers, jonathan.druart, katrin.fischer, lucas, martin.renvoize
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Who signed the patch off: Text to go in the release notes:
Version(s) released in:
19.11.00,19.05.02
Attachments: Bug 23065: Rename "New subscription" button when default to current serial
Bug 23065: Rename "New subscription" button when default to current serial
Bug 23065: Rename "New subscription" button when default to current serial

Description Nick Clemens 2019-06-06 12:07:09 UTC
I don't know if this is expected behvaiour, but it feels like a bug - at the very least the label of the button should change? Or I would think 2 buttons 'New Subscription' and 'New subscription for this serial'
To recreate:
1 - Go to Serials module in Koha
2 - Click 'New subscription'
3 - You get a blank form
4 - Fill it out, save it
5 - You are viewing the subscription you created
6 - Click 'New subscription'
7 - You get a form populated with the biblio of the last subscription you created
Comment 1 Jonathan Druart 2019-06-08 18:32:18 UTC
Created attachment 90439 [details] [review]
Bug 23065: Rename "New subscription" button when default to current serial

To make it explicite that the "New subscription" button will create a
subscription based on the current serial it is now labeled "New
subscription for this serial"

Test plan:
1 - Go to Serials module in Koha
2 - Click 'New subscription'
3 - You get a blank form
4 - Fill it out, save it
5 - You are viewing the subscription you created
=> The button is now labeled "New subscription for this serial"
Comment 2 Michal Denar 2019-06-10 19:57:11 UTC
Created attachment 90465 [details] [review]
Bug 23065: Rename "New subscription" button when default to current serial

To make it explicite that the "New subscription" button will create a
subscription based on the current serial it is now labeled "New
subscription for this serial"

Test plan:
1 - Go to Serials module in Koha
2 - Click 'New subscription'
3 - You get a blank form
4 - Fill it out, save it
5 - You are viewing the subscription you created
=> The button is now labeled "New subscription for this serial"

Signed-off-by: Michal Denar <black23@gmail.com>
Comment 3 Nick Clemens 2019-06-13 11:13:32 UTC
Created attachment 90575 [details] [review]
Bug 23065: Rename "New subscription" button when default to current serial

To make it explicite that the "New subscription" button will create a
subscription based on the current serial it is now labeled "New
subscription for this serial"

Test plan:
1 - Go to Serials module in Koha
2 - Click 'New subscription'
3 - You get a blank form
4 - Fill it out, save it
5 - You are viewing the subscription you created
=> The button is now labeled "New subscription for this serial"

Signed-off-by: Michal Denar <black23@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 4 Martin Renvoize 2019-06-13 11:51:46 UTC
Nice work!

Pushed to master for 19.11.00
Comment 5 Fridolin Somers 2019-07-02 09:03:20 UTC
Pushed to 19.05.x for 19.05.02
Comment 6 Lucas Gass 2019-07-03 17:53:29 UTC
backported to 18.11.x for 18.11.08