Bug 33786: ILL requests table id
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 30 May 2023 09:20:20 +0000 (09:20 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 12 Jun 2023 10:57:42 +0000 (10:57 +0000)
commitaf1c78ab51986f8604c2efce5a82dbc2577b0010
tree7d09f8dc14e3dd1dfad040ae235656fead101d6d
parentb9a07a0269d83043cdc964e984f1f2af66189fad
Bug 33786: ILL requests table id

Make sure requests table is unique when visiting patron ILL
history so the table state is not shared unintentionally

Reproduce:
1) Have a borrower with >20 ILL requests in their history
2) Visit cgi-bin/koha/members/ill-requests.pl?borrowernumber=<borrowernumber>
3) On the table, click page 2
4) Visit a different borrower with <20 ILL requests
5) Verify that no requests are shown, this is because the table is using page 2 from step 3)
6) Go back to original borrower, click table page 1
7) Now go back to 2nd borrower, verify is now showing page 1 correctly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4d2df9876d389f4ac939d5fec27b877bbe00cf45)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc
koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js