# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Output;
{ term => "value_mainstr", val => scalar $query->param('value_mainstr') || "" };
push @field_data,
{ term => "value_main", val => scalar $query->param('value_main') || "" };
- push @field_data,
- { term => "value_any", val => scalar $query->param('value_any') || "" };
push @field_data,
{ term => "value_match", val => scalar $query->param('value_match') || "" };
+ push @field_data,
+ { term => "value_any", val => scalar $query->param('value_any') || "" };
my @numbers = ();
if ( $total > $resultsperpage ) {
from => $from,
to => $to,
numbers => \@numbers,
- operator_mainstr => ( @operator > 0 && $operator[0] )
- ? $operator[0]
- : '',
- operator_main => ( @operator > 1 && $operator[1] ) ? $operator[1] : '',
- operator_any => ( @operator > 2 && $operator[2] ) ? $operator[2] : '',
- operator_match => ( @operator > 3 && $operator[3] ) ? $operator[3] : '',
+ operator_mainstr => ( @operator > 0 && $operator[0] ) ? $operator[0] : '',
+ operator_main => ( @operator > 1 && $operator[1] ) ? $operator[1] : '',
+ operator_match => ( @operator > 2 && $operator[2] ) ? $operator[2] : '',
+ operator_any => ( @operator > 3 && $operator[3] ) ? $operator[3] : '',
);
}
else {