http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12903

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |ommunity.org
           Severity|critical                    |normal

--- Comment #1 from Jonathan Druart <[email protected]> 
---
Hello Abdou,

You should prefer the mailing list for this kind of questions, to get a
quickest answer :)

> # search duplicate on ISBN, easy and fast..
>     # ... normalize first
>     if ( $result->{isbn} ) {
>         $result->{isbn} =~ s/\(.*$//;
>         $result->{isbn} =~ s/\s+$//;
>         $query = "isbn:$result->{isbn}";
>     }

This will search for the isbn if an isbn is filled when creating the record.
So if you don't fill it, it shouldn't.

You can try to debug in C4/Search.pm:
 141     warn "SEARCH $query";
 142     my ( $error, $searchresults, undef ) = SimpleSearch($query); # FIXME
:: hardcoded !

To know what is the generated query.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to