News:

Support the VirtueMart project and become a member

Main Menu

BUG: Search module is broken

Started by ptrouw, March 17, 2015, 09:59:45 AM

Previous topic - Next topic

ptrouw

There are more posts on this subject, but with 3.0.6 it is still not fixed.
Somehow the search-string has an extra SLUG in the sef. The reason why search module isn't working.
After searching the SEF URL is invalid: /nl/shop/search.html?keyword=xyz
It should read: /nl/search.html?keyword=xyz
So it puts the slug in between.

This workaround works: /modules/mod_virtuemart_search/tmpl/default.php
<!--<form action="<?php #echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ); ?>" method="get">-->
<form action="<?php echo 'index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ; ?>" method="get">