OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Search plugin 3.0 shows all books (0 viewing) 

BookLibrary Plugins Support

Go to bottom Favoured: 0

Search plugin 3.0 shows all books

Hemmeter (Visitor)
Posts: 0
graphgraph
User Offline
Search plugin 3.0 shows all books 9 Years, 7 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 Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Search plugin 3.0 shows all books 9 Years, 7 Months ago
Karma: 101  
Hello,

What book library version you use and for what Joomla version ?

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Hemmeter (Visitor)
Posts: 0
graphgraph
User Offline
Re:Search plugin 3.0 shows all books 9 Years, 7 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 Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Search plugin 3.0 shows all books 9 Years, 7 Months ago
Karma: 101  
Hi HH,

Thank you very much !

Thanks,
Andrew
Logged Logged
The administrator has disabled public write access.
Go to top
»