News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

SORT bug!

Started by Voice, November 09, 2008, 17:52:26 PM

Previous topic - Next topic

Voice

I have "Joomla 1.5.5" with "VM 1.1.2. Stable" and when I try to sort (alpha, price, date - no matter) VM-engine makes pages quantity the same as goods quantity. I think the problem is in limit box, because it uses the same <form> as sort dropdown list but values of limit box are links and not the real limit values which can be processed. As result when I choose sort type, all form values transfers and $limit variable takes incorrect value, which looks like

"http://test-1-x.goodzone.com.ua/component/virtuemart/?orderby=product_name&DescOrderBy=ASC&page=shop.browse&category_id=16&manufacturer_id=0&keyword=&keyword1=&keyword2=&limit=%2Fcomponent%2Fvirtuemart%2F%3Fpage%3Dshop.browse%26category_id%3D16%26keyword%3D%26manufacturer_id%3D0%26orderby%3Dproduct_price%26limit%3D15%26start%3D15&vmcchk=1&start=15"

:o

Anybody know how can I solve this problem?

jjk

#1
If I remember correctly, this bug improved a little bit with one of the recent nightly builds, but still didn't disappear completely. I'm currently using build number 1555, which you can download here: http://dev.virtuemart.net/cb/proj/doc.do?doc_id=1328

With this build this kind of sorting error still appears if the number of products to show in the frontend is set to 5 in the drop down list. If you choose a higher value (10,15,20,...), it disappears.

By the way - you should update your Joomla version too, in order to prevent something like this: http://forum.virtuemart.net/index.php?topic=47819.0

---------------------------------------
Update:

Just noticed that "zpirnar" found a fix for this problem which seems to work. See
http://forum.virtuemart.net/index.php?topic=43380.0
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations