Cannot sort list module

Status
Not open for further replies.

DavidPoulin

New Member
(I asked the same question in the community forums yesterday, moving the thread here)

Fresh new install (Joomla 3.3.1), fresh Fabrik install from GitHub (joomla3 branch). Enabled Ajaxify for the list module, enabled sorting for one element.

https://www.93pounds.com/ (our test site)

Clicking on the header doesn't do anything (apart from a "loading" dialog). No errors.

I have found that this bug only affects a list module. I can sort no problem by having a menu item which is of type fabrik list: https://www.93pounds.com/test
  • Tried navigation Ajax = no, did not make a difference
  • I disabled Joomla error reporting, did not make a difference
  • I see no javascript or net errors using Firebug in Firefox 29 on either the module or the menu item
I took a look at what Fabrik is doing when I trigger the sort. The following are the POST parameters that the page is sending.

Module
URL: http://www.93pounds.com/?resetfilters=0&clearordering=0&clearfilters=0
4287d326c93d7923a8b96e352... 1
Itemid 101
fabrik_listplugin_name
fabrik_listplugin_options
fabrik_listplugin_renderO...
fabrik_referrer
fabrik_show_in_list[] 2
fabrik_show_in_list[] 4
fabrik_show_in_list[] 5
fabrik_show_in_list[] 6
fabrik_show_in_list[] 7
fabrik_show_in_list[] 8
fabrik_show_in_list[] 9
fabrik_show_in_list[] 10
format raw
incfilters 1
limit1 10
limitstart1 0
listid 1
listref 1_mod_fabrik_list_173
option com_fabrik
orderby 10
orderdir asc
packageId 0
task list.order
tmpl bootstrap
view list


List
URL: https://www.93pounds.com/test?resetfilters=0&clearordering=0&clearfilters=0
4287d326c93d7923a8b96e352... 1
Itemid 153
fabrik_listplugin_name
fabrik_listplugin_options
fabrik_listplugin_renderO...
fabrik_referrer
format raw
incfilters 1
limit1 10
limitstart1 0
listid 1
listref 1_com_fabrik_1
option com_fabrik
orderby 10
orderdir desc
packageId 0
task list.order
tmpl bootstrap
view list
 
Confirmed, ordering in a list module is not working at all.
Even if set in module directly (e.g. id desc) it's ignored.
 
hello
Thanks for the detailed report on the issue.
Could you update from github as I've had a go at resolving this issue for you
cheers
Rob
 
I had to apply a small fix for Rob's fix to my fix, so it should now work in the situation where elements are not set for "order by" in the main element settings, but are chosen in the module specific order by settings.

-- hugh
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top