Koha/catalogue
Pedro Amorim ac157b7a75
Bug 35581: Koha::Illrequest -> Koha::ILL::Request
Koha/Illrequests.pm -> Koha/ILL/Requests.pm

Merged:
t/db_dependent/Koha/Illrequests.t
t/db_dependent/Illrequests.t

Into:
t/db_dependent/Koha/ILL/Requests.t

ILL classes file structure is, for the most part, around 7 years old and doesn't follow a strict logic. It's so confusing that some test files exist redundantly.

This housekeeping should help future work in regards to ISO18626 to add Koha as a supplying agency instead of just requesting agency, as is now.
It should also help future housekeeping of moving backend related logic out of the Illrequest.pm into Illbackend.pm (now ILL/Request.pm and ILL/Backend.pm as of this patchset).
It should also help in structuring the addition of a master generic form (see bug 35570)

This patchset will require existing backends to be updated to match the new class names and structure, if they invoke them.

Test plan, k-t-d, run tests:
prove t/db_dependent/api/v1/ill_*
prove t/db_dependent/Koha/ILL/*

Test plan, k-t-d, manual:
1) Install FreeForm, enable ILL module, run:
bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
2) You'll have to switch the FreeForm repo to the one compatible with this work, like:
cd /kohadevbox/koha/Koha/Illbackends/FreeForm
git checkout reorganize_ILL
3) Do some generic ILL testing:
3.1) Create a request
3.2) Add a comment to a request
3.3) Edit a request
3.4) Edit a request's item metadata
3.5) Confirm a request
3.6) List requests
3.7) Filter requests list using left side filters
4) Install a metadata enrichment plugin:
https://github.com/PTFS-Europe/koha-plugin-api-pubmed
4.1) Create an ILL batch and insert a pubmedid like 123
4.2) Add the request and finish batch
5) Verify all of the above works as expected

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-22 08:57:45 +02:00
..
detail.pl Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
export.pl Bug 36336: (bug 34478 follow-up) Fix export from catalogue detail 2024-03-22 10:35:20 +01:00
getitem-ajax.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
image.pl Bug 36511: Some scripts missing a dependency following Bug 24879 2024-04-10 09:09:50 +02:00
imageviewer.pl Bug 31310: Remove GetItemsInfo from catalogue/imageviewer 2022-08-16 09:22:47 -03:00
ISBDdetail.pl Bug 29697: Use flag embed_items 2022-07-22 15:24:11 -03:00
issuehistory.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
item-export.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
itemsearch.pl Bug 36563: Turn into array only if required 2024-04-19 15:55:54 +02:00
labeledMARCdetail.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
MARCdetail.pl Bug 36438: Check object for calling metadata 2024-04-12 11:25:59 +02:00
moredetail.pl Bug 33788: Limit the number of old issues rows returned 2023-05-30 08:27:55 -03:00
search-history.pl Bug 34478: Rename action with op - catalogue/search-history 2024-03-01 10:56:38 +01:00
search.pl Bug 36000: Fix CGI::param warning in catalogue search 2024-03-07 15:02:43 +01:00
showelastic.pl Bug 35618: Remove deprecated parameter "type" from showelastic.pl page 2023-12-28 12:16:12 +01:00
showmarc.pl Bug 30779: Remove _update_import_record_marc and update tests 2022-08-18 09:02:04 -03:00
stockrotation.pl Bug 36193: cud- treatment for catalogue/stockrotation.pl 2024-03-12 17:47:32 +01:00
updateitem.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00