QP copy location group filter repair
authorBill Erickson <berick@esilibrary.com>
Tue, 2 Apr 2013 20:02:26 +0000 (16:02 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 2 Apr 2013 20:13:32 +0000 (16:13 -0400)
Remove reference to nonexistent location group filter callback function.
Copy locations for filters are loaded inline.  No callback needed.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm

index 26aa733..f69755a 100644 (file)
@@ -625,7 +625,7 @@ __PACKAGE__->add_search_filter( 'edit_date' );
 __PACKAGE__->add_search_filter( 'create_date' );
 __PACKAGE__->add_search_filter( 'statuses' );
 __PACKAGE__->add_search_filter( 'locations' );
-__PACKAGE__->add_search_filter( 'location_groups', sub { return __PACKAGE__->location_groups_callback(@_) } );
+__PACKAGE__->add_search_filter( 'location_groups' );
 __PACKAGE__->add_search_filter( 'bib_source' );
 __PACKAGE__->add_search_filter( 'site' );
 __PACKAGE__->add_search_filter( 'pref_ou' );