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

--- Comment #1 from HKS3 Tadeusz SoĊ›nierz <tade...@sosnierz.com> ---
Created attachment 180825
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180825&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 the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to