From b53157854bf0ab311f3a729cc59904aa3da25970 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 15 Apr 2016 11:04:57 +0200 Subject: [PATCH] Bug 15541: [QA Follow-up] Add new SimpleSearch argument to POD Content-Type: text/plain; charset=utf-8 Also moved one line conform the order of arguments. Signed-off-by: Marcel de Rooy --- C4/Search.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index eb178ae..1d52785 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -159,7 +159,7 @@ sub FindDuplicate { =head2 SimpleSearch -( $error, $results, $total_hits ) = SimpleSearch( $query, $offset, $max_results, [@servers] ); +( $error, $results, $total_hits ) = SimpleSearch( $query, $offset, $max_results, [@servers], [$skip_normalize] ); This function provides a simple search API on the bibliographic catalog @@ -168,9 +168,10 @@ This function provides a simple search API on the bibliographic catalog =item C * $query can be a simple keyword or a complete CCL query - * @servers is optional. Defaults to biblioserver as found in koha-conf.xml * $offset - If present, represents the number of records at the beginning to omit. Defaults to 0 * $max_results - if present, determines the maximum number of records to fetch. undef is All. defaults to undef. + * @servers is optional. Defaults to biblioserver as found in koha-conf.xml + * $skip_normalize is optional. This flag prevents the s/:/=/g and s/=/:/g normalization which may not always be necessary or even could mangle the search terms (URLs). Used by C4::Matcher::get_matches. =item C -- 1.7.10.4