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
TOPIC: Search plugin 3.0 shows all books
#13398
Hemmeter (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Search plugin 3.0 shows all books 2 Years, 3 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.
#13411
admin (Admin)
Admin
Posts: 4869
graph
User Offline Click here to see the profile of this user
Re:Search plugin 3.0 shows all books 2 Years, 3 Months ago Karma: 61  
Hello,

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

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

Thank you very much !

Thanks,
Andrew
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?