https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40186
--- Comment #10 from Katrin Fischer <[email protected]> --- (In reply to Pedro Amorim (ammopt) from comment #9) > Hi all, the additional field parsing loop added to acqui/acqui-home.pl (from > 'my @additional_field_filters;' to '$filters->{additional_fields} = > \@additional_field_filters;' inclusive) is copied from histsearch.pl, but it > does nothing on this page. The 'Search orders' form submits to > histsearch.pl, so acqui-home.pl never receives the additional_field_* > params, and nothing reads $filters->{additional_fields}. > > To see it: > 1) Create a searchable additional field for order baskets: > > http://localhost:8081/cgi-bin/koha/admin/additional-fields. > pl?tablename=aqbasket > 2) Create a basket with the field set to 'foo' and add an order to it, then > create a second basket with the field empty and add an order to that too: > > http://localhost:8081/cgi-bin/koha/acqui/basketheader. > pl?booksellerid=1&op=add_form > 3) Go to http://localhost:8081/cgi-bin/koha/acqui/acqui-home.pl, type 'foo' > in the additional field under 'Search orders' and click 'Search': only the > first basket's order is listed > 4) In acqui/acqui-home.pl, delete everything from 'my > @additional_field_filters;' to '$filters->{additional_fields} = > \@additional_field_filters;' inclusive, and restart plack (koha-plack > --restart kohadev) > 5) Repeat step 3: same result > > Not a blocker, could you do a follow-up when convenient please? It sounds like a follow-up would be needed? If it doesn't work at all... maybe I am misreading? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
