https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39610 HKS3 Tadeusz Sośnierz <tadeusz@sosnierz.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #181864|0 |1 is obsolete| | --- Comment #10 from HKS3 Tadeusz Sośnierz <tadeusz@sosnierz.com> --- Created attachment 183153 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183153&action=edit Bug 39610: Make ILL request metadata fields shown in OPAC table configurable Test plan: 1. In KTD, go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=master+switch and enable the ILL module 2. Run the following script to populate the request list for user `koha`: use strict; use warnings; use Koha::ILL::Request; my $backend = 'Standard'; my $branchcode = 'CPL'; for my $n (1..100) { my $req = Koha::ILL::Request->new->load_backend($backend); my $fields = $req->_backend->_get_core_fields(); my @extended_attributes = map { +{ type => $_, value => "$_ for $n" } } keys %$fields; $req->_backend->create_api({ backend => $backend, branchcode => $branchcode, borrowernumber => 51, type => 'book', extended_attributes => \@extended_attributes, }, $req); } 3. Navigate to http://localhost:8080/cgi-bin/koha/opac-illrequests.pl, log in as `koha` as needed 4. Observe only the default Author and Title being displayed 5. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=ILLOpacMetadataFields and set `author|article_author(Article Author)` as the new value 6. On http://localhost:8080/cgi-bin/koha/opac-illrequests.pl, observe how the configured metadata values are now shown, with configured names Sponsored-by: Wiko (https://www.wiko-berlin.de/) -- You are receiving this mail because: You are watching all bug changes.