Bug 33713 - Report batch operations should open in new tab
Summary: Report batch operations should open in new tab
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Reports (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Lucas Gass (lukeg)
QA Contact: Marcel de Rooy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-10 16:47 UTC by Andrew Fuerste-Henry
Modified: 2023-12-28 20:47 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
When using the batch operations from report results, the links to the batch tools will now open in a new tab instead of the same one, leaving the report results visible.
Version(s) released in:
23.05.00,22.11.07
Circulation function:


Attachments
Bug 33713: Make batch operations from report results open in new tab (5.11 KB, patch)
2023-05-12 18:11 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 33713: Make batch operations from report results open in new tab (5.18 KB, patch)
2023-05-12 18:59 UTC, ByWater Sandboxes
Details | Diff | Splinter Review
Bug 33713: Make batch operations from report results open in new tab (5.27 KB, patch)
2023-05-17 13:39 UTC, Marcel de Rooy
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2023-05-10 16:47:20 UTC
When using the batch operations from report results, it would be great if the batch operation links defaulted to opening in a new tab, rather than navigating one away from the report results. 

I'm working on a project that involves running a report with a runtime variable, doing a batch edit on all of the objects in the results, then rerunning the report with a new variable, a new edit, and so on. Getting pushed out of the reports module for each batch action makes the workflow much more cumbersome.
Comment 1 Lucas Gass (lukeg) 2023-05-12 18:11:41 UTC
Created attachment 151157 [details] [review]
Bug 33713: Make batch operations from report results open in new tab

To test:
1. Have some reports that can do the following batch operations:
    -Batch patron mod
    -Batch item deletion
    -Batch add to list
    -Batch item mod
    -Batch record delection
    -Batch record mod

2. Run the report ann click 'Batch operations with X visible records', make sure each batch op opens in a new tab.

These two simple reports should allow you to test each of the batch cases:

select * from items limit 1
select * from borrowers limit 1
Comment 2 ByWater Sandboxes 2023-05-12 18:59:32 UTC
Created attachment 151159 [details] [review]
Bug 33713: Make batch operations from report results open in new tab

To test:
1. Have some reports that can do the following batch operations:
    -Batch patron mod
    -Batch item deletion
    -Batch add to list
    -Batch item mod
    -Batch record delection
    -Batch record mod

2. Run the report ann click 'Batch operations with X visible records', make sure each batch op opens in a new tab.

These two simple reports should allow you to test each of the batch cases:

select * from items limit 1
select * from borrowers limit 1

Signed-off-by: Andrew  Fuerste-Henry <andrewfh@dubcolib.org>
Comment 3 Marcel de Rooy 2023-05-17 13:39:01 UTC
Created attachment 151337 [details] [review]
Bug 33713: Make batch operations from report results open in new tab

To test:
1. Have some reports that can do the following batch operations:
    -Batch patron mod
    -Batch item deletion
    -Batch add to list
    -Batch item mod
    -Batch record delection
    -Batch record mod

2. Run the report ann click 'Batch operations with X visible records', make sure each batch op opens in a new tab.

These two simple reports should allow you to test each of the batch cases:

select * from items limit 1
select * from borrowers limit 1

Signed-off-by: Andrew  Fuerste-Henry <andrewfh@dubcolib.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 4 Tomás Cohen Arazi (tcohen) 2023-05-18 14:36:11 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 5 Matt Blenkinsop 2023-06-08 16:51:54 UTC
Nice work everyone!

Pushed to stable for 22.11.x