[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.02-142-gf132aa4b30

Git repo owner gitmaster at git.koha-community.org
Thu Aug 13 20:34:14 CEST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 20.05.x has been updated
       via  f132aa4b3071f3a551475ecbdfd3f4d2bec5cf14 (commit)
      from  c98a283d118bb936dc44db1b73cfeb8e45f89a22 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f132aa4b3071f3a551475ecbdfd3f4d2bec5cf14
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Aug 5 09:57:56 2020 +0200

    Bug 26141: Remove duplicated code from search.pl
    
    commit 417553a9e47bf31f4cb785162e3dced856a2ac2a
      Bug 12478: starting to add search to staff client
    
    This commit added code related to the itemtypes to the advanced search, but this code already existed.
    
    The weird bit is:
    $template->param(advancedsearchesloop => \@advancedsearchesloop);
    my $types = C4::Context->preference("AdvancedSearchTypes") || "itemtypes";
    my $advancedsearchesloop = prepare_adv_search_types($types);
    $template->param(advancedsearchesloop => $advancedsearchesloop);
    
    We are passing twice advancedsearchesloop to the template.
    
    Test plan (for QA):
    Review the changes and confirm that we can safely remove this code
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit a51a4f117d13739687f7be47d56cae0352914901)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 catalogue/search.pl | 46 ----------------------------------------------
 1 file changed, 46 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list