@@ -, +, @@
POD
---
C4/Search.pm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- a/C4/Search.pm
+++ a/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
--