[Koha-bugs] [Bug 36130] ILL batches table not showing all batches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 6 11:01:04 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36130

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #162319|0                           |1
        is obsolete|                            |

--- Comment #5 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 162810
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162810&action=edit
Bug 36130: Fetch all batches for the table

Test plan, ktd:
- Add 'FreeForm' backend and enable ILLModule, run:
bash <(curl -s
https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
- Install a metadata enrichment plugin, e.g.:
https://github.com/PTFS-Europe/koha-plugin-api-pubmed/releases
- Add 21 batches, run the following command in kshell:
for x in {1..21}; do echo "INSERT INTO illbatches (name, backend, library_id,
status_code, patron_id) VALUES ('$x', 'FreeForm', 'CPL', 'NEW', 52);"; done |
koha-mysql kohadev
- Visit ILL batches page:
<INTRA_URL>/cgi-bin/koha/ill/ill-requests.pl?method=batch_list
- Notice only 20 batches show.
- Apply patch. Notice 20 batches show but now there is a page 2 link.
- Test page 2 works as expected, delete a batch, notice only 1 page with 20
batches shows again.

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Edith Speller <edith.speller at ukhsa.gov.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list