[Koha-bugs] [Bug 34431] Distinguish between status and status_alias in ILL UI

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 28 12:44:10 CEST 2023


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

--- Comment #5 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
The following command will (hopefully) reset your ILL data and create 10k fake
ILL requests (run this in DEV KTD only).

1) BEFORE APPLYING PATCH, on an empty k-t-d, run:
bash <(curl -s
https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev-data.sh)
2) Pet a cat
3) Visit /cgi-bin/koha/admin/authorised_values.pl add search for "alias", click
on ILL_STATUS_ALIAS
4) Click on the "New authorized value for ILL_STATUS_ALIAS" button and add
"alias_code" in authorized value and "Alias Description" in Description
5) Visit /cgi-bin/koha/ill/ill-requests.pl and click "Manage request" on a
FreeForm request, click "Edit request"
6) Edit the Status and select "Alias Description", click "Submit"
7) Visit /cgi-bin/koha/ill/ill-requests.pl and select FreeForm on the
"Backend:" left-side filter
8) Notice how "Status Description" status_alias is now there, mixed with all
the other "real" statuses. Click on it and filter on it. Confirm it works
9) Notice the table displays "Status Description" on the "Status" table column

10) Apply patch
11) Repeat 7) Notice how "Status Description" now shows under a new optgroup
"Status aliases"
12) Notice the table nows displays whatever status the request has, followed by
the "Status Description" status_alias in italic bold

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


More information about the Koha-bugs mailing list