// Fix controller parameter in Link::getPaginationLink() method
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12026 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -38,18 +38,16 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
{literal}
|
||||
$(document).ready(function()
|
||||
{
|
||||
$('#selectPrductSort').change(function()
|
||||
{
|
||||
var requestSortProducts = '{/literal}{$request}{literal}';
|
||||
var requestSortProducts = '{$request}';
|
||||
var splitData = $(this).val().split(':');
|
||||
document.location.href = requestSortProducts + ((requestSortProducts.indexOf('?') < 0) ? '?' : '&') + 'orderby=' + splitData[0] + '&orderway=' + splitData[1];
|
||||
});
|
||||
});
|
||||
//]]>
|
||||
{/literal}
|
||||
</script>
|
||||
|
||||
<form id="productsSortForm" action="{$request|escape:'htmlall':'UTF-8'}">
|
||||
|
||||
Reference in New Issue
Block a user