Reputation: 2012
im trying to upgrade mod_search in Joomla to display search results only from category, that user is viewing atm...
Ive managed to pass catid to com_search controller and model, ive tried to update search plugin's query, but still i can't get the results..
Any ideas?
Upvotes: 0
Views: 691
Reputation: 1825
Turn on debug mode in the /administrator/ area. Run your search in the front end of the site and check the debug output (at the bottom of the page). Check whether your edited sql query has been run and is listed in the debug output. Check the same query against the db directly - from a mysql command line or via phpmyadmin and see if there are any issues.
Which search plugin did you edit - was it the correct one, and have you accidentally changed the code so as to stop it returning results?
Upvotes: 1