JSON search results Topic is solved

For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
sandomatyas
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Jun 19, 2017 10:57 am

JSON search results

Post by sandomatyas » Wed Dec 05, 2018 2:44 pm

I run 2 sites, one of them uses Joomla 3.8.10 and the other one has been recently updated to 3.9.1
I found that /component/search/?tmpl=raw&type=json&ordering=&searchphrase=all&searchword=test returns json formatted data with the older one but a simple html with the new one.
Anything changed with this whith the updates? How could I receive json data for search results?

Alejo
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 198
Joined: Fri Aug 19, 2005 12:28 pm
Contact:

Re: JSON search results

Post by Alejo » Wed Dec 05, 2018 2:47 pm

Is it possible this was achieved through template overrides on the old site? Check the folder for the template you are using and look for the /html/com_search folder there to see if there's an override for /search/default_results.php
JReviews • Directory and reviews extension https://www.jreviews.com

sandomatyas
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Jun 19, 2017 10:57 am

Re: JSON search results

Post by sandomatyas » Wed Dec 05, 2018 2:54 pm

Yep, sorry, false alarm. I found the override just when I sent the question. I'll contact the template developers.


Post Reply

Return to “Joomla! 3.x Coding”