|
Lines 159-165
sub FindDuplicate {
Link Here
|
| 159 |
|
159 |
|
| 160 |
=head2 SimpleSearch |
160 |
=head2 SimpleSearch |
| 161 |
|
161 |
|
| 162 |
( $error, $results, $total_hits ) = SimpleSearch( $query, $offset, $max_results, [@servers] ); |
162 |
( $error, $results, $total_hits ) = SimpleSearch( $query, $offset, $max_results, [@servers], [$skip_normalize] ); |
| 163 |
|
163 |
|
| 164 |
This function provides a simple search API on the bibliographic catalog |
164 |
This function provides a simple search API on the bibliographic catalog |
| 165 |
|
165 |
|
|
Lines 168-176
This function provides a simple search API on the bibliographic catalog
Link Here
|
| 168 |
=item C<input arg:> |
168 |
=item C<input arg:> |
| 169 |
|
169 |
|
| 170 |
* $query can be a simple keyword or a complete CCL query |
170 |
* $query can be a simple keyword or a complete CCL query |
| 171 |
* @servers is optional. Defaults to biblioserver as found in koha-conf.xml |
|
|
| 172 |
* $offset - If present, represents the number of records at the beginning to omit. Defaults to 0 |
171 |
* $offset - If present, represents the number of records at the beginning to omit. Defaults to 0 |
| 173 |
* $max_results - if present, determines the maximum number of records to fetch. undef is All. defaults to undef. |
172 |
* $max_results - if present, determines the maximum number of records to fetch. undef is All. defaults to undef. |
|
|
173 |
* @servers is optional. Defaults to biblioserver as found in koha-conf.xml |
| 174 |
* $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. |
| 174 |
|
175 |
|
| 175 |
|
176 |
|
| 176 |
=item C<Return:> |
177 |
=item C<Return:> |
| 177 |
- |
|
|