Bug 28719

Summary: Cannot edit serials when deleted the selected issues
Product: Koha Reporter: Alexis Ripetti <alexis.ripetti>
Component: SerialsAssignee: Alexis Ripetti <alexis.ripetti>
Status: Pushed to master --- QA Contact: Nick Clemens <nick>
Severity: normal    
Priority: P5 - low CC: caroline.cyr-la-rose, jonathan.druart+koha, kelly, marjorie.barry-vila, nick, philippe.blouin
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
21.11.00
Attachments: Bug 28719: Change somes links in the serials page to avoid them leading to nothing
Bug 28719: Change somes links in the serials page to avoid them leading to nothing
Bug 28719: Change somes links in the serials page to avoid them leading to nothing
Bug 28719: Change somes links in the serials page to avoid them leading to nothing

Description Alexis Ripetti 2021-07-16 15:31:41 UTC
When you delete the selected issues in the serials page, the 'Edit serials' button lands to nothing. 
The link becomes '/cgi-bin/koha/serials/serials-collection.pl/serials-edit.pl'
Comment 1 Alexis Ripetti 2021-07-16 15:53:43 UTC Comment hidden (obsolete)
Comment 2 Alexis Ripetti 2021-07-16 15:58:41 UTC
Created attachment 122920 [details] [review]
Bug 28719: Change somes links in the serials page to avoid them leading to nothing
Comment 3 Alexis Ripetti 2021-07-21 12:42:40 UTC
I forgot to add a test plan, so :
1- Search for a serial
2- Pick one
3- Go to 'Serial collection' on the left
4- An issue should be selected if you're expected a new issue
5- delete it using 'Delete selected issues'
6- Confirm deletion
7- If you're supposed to receive more issues the next one should now be there
8- Now edit the serial ('Edit serials')
9- See that the link leads to nothing
10- Apply patch and redo steps 1 to 8
11- See that the link now leads to something
Comment 4 Kyle M Hall 2021-08-10 16:00:27 UTC
Created attachment 123704 [details] [review]
Bug 28719: Change somes links in the serials page to avoid them leading to nothing

Signed-off-by: kelly <kelly@bywatersolutions.com>
Comment 5 Nick Clemens 2021-08-13 15:13:11 UTC
Created attachment 123826 [details] [review]
Bug 28719: Change somes links in the serials page to avoid them leading to nothing

To test:
1- Search for a serial
2- Pick one
3- Go to 'Serial collection' on the left
4- An issue should be selected if you're expected a new issue
5- delete it using 'Delete selected issues'
6- Confirm deletion
7- If you're supposed to receive more issues the next one should now be there
8- Now edit the serial ('Edit serials')
9- See that the link leads to nothing
10- Apply patch and redo steps 1 to 8
11- See that the link now leads to something

Signed-off-by: kelly <kelly@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Comment 6 Jonathan Druart 2021-08-16 10:05:09 UTC
Pushed to master for 21.11, thanks to everybody involved!