|
Search plugin 3.0 shows all books 6 Years, 6 Months ago
|
Karma: 0
|
Hi,
The new search plugin 3.0 shows all books regardless of search term when search is set to "alle worte" (all words).
It works right when set to "exakter Ausdruck" (exact phrase).
Probably there is an ill-formed string comparism in the plugin.
Regards,
HH
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
admin (Admin)
Admin
Posts: 7237
|
Re:Search plugin 3.0 shows all books 6 Years, 6 Months ago
|
Karma: 85
|
Hello,
What book library version you use and for what Joomla version ?
Thanks,
OrdaSoft team
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
|
Re:Search plugin 3.0 shows all books 6 Years, 6 Months ago
|
Karma: 0
|
Hello,
Joomla 3.3.3
BookLibrary 3.0 Free
Meanwhile I found and corrected the bug myself by comparing BooklibrarySearch.php to an original joomla plugin.
After changing
$word= $db->Quote( '%'.$db->getEscaped( $word, true ).'%', false );
to
$word= $db->Quote( '%'.$db->escape( $word, true ).'%', false );
the search worked fine.
Regards,
HH
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
admin (Admin)
Admin
Posts: 7237
|
Re:Search plugin 3.0 shows all books 6 Years, 6 Months ago
|
Karma: 85
|
Hi HH,
Thank you very much !
Thanks,
Andrew
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
|