I would like to add Keywords to the simple search (and I hope to just get rid of the link to the Advanced Search). I have successfully added it to the simple_search.php so Keywords field shows up and uses the auto complete properly. However, when I hit Search, it displays all records. When I look at the query: SELECT author, title, year, publication, volume, pages FROM refs LEFT JOIN user_data ON serial = record_id AND user_id = 2 WHERE serial RLIKE ".+" ORDER BY author, year DESC, publication - it is obvious that the Keywords is not being added in to the query.
I've looked through the search.php and the simple_search.php - nothing I've tried works. Any assistance would be grand. Thanks.
Figured out the location in search.php and now it works perfectly!!! Woohoo…..
glad you could figure it out by yourself. And let us know, if you need help with the removal of the "Advanced Search" link.
W.r.t. to "Simple Search", I've played with a more flexible solution where (among other things) you could easily specify the fields that are made available in the "Simple Search" form. But this isn't done yet.
That would be a great addition to refbase!! It would make my life sooooo much easier.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.