Moonsoft Software Solutions

Sorting does not work

Started 3 Feb 2016 · 12 replies

  1. franky466
    Sorting does not work in version 2.2.11. The first column of an address list I want to sort them alphabetically. In version 2.2.7 it worked.
  2. Moonsoft support
    Hi,
    please note latest versions have a new field property called 'sortable' that enables/disables the sorting for specific columns. If this is not your problem, please give more details about your issue (which is the sorting that does not work, default sorting inside a list/view,front end user sorting?) so we can reproduce here.

    Thanks, regards
  3. franky466
    I don't find the new field property called 'sortable' .

    Please visit my testing-area http://demo3.fr-its.de/index.php/liste-sorted/

    list is configured in the backend "sorted by Name - ascending"
    You can change the order in the frontend.

    But there is no alphabetical sorting possible
  4. Moonsoft support
    Hi,

    Your're right, we've found that strange issue on some cases. Please download and upgrade to latest version.

    Regards,
  5. franky466
    Hi,

    you told me "..Please download and upgrade to latest version..."
    i can not find the latest Version 2.2.12 in my account.
    there is only the version 2.2.11 available

    Edited by franky466 - 07.02.2016 16:06
  6. Moonsoft support
    Hi,

    We've refreshed the page again, could your please test again.

    Thanks. Regards,
  7. franky466
    Ok,

    Sorting now works. But behind the list will appear the following source-code:

    "string(257) "select distinct(v.idrecord),(select v0.value from #__listmanager_values v0 where v0.idfield=24 and v0.idrecord=v.idrecord) as values0 from #__listmanager_field f left join #__listmanager_values v on v.idfield=f.id where f.idlisting=1 order by values0 asc"

    Pleased look again ...... http://demo3.fr-its.de/index.php/liste-sorted/
  8. Moonsoft support
    Hi,

    We've left a log test at code, please download again.

    Regards,
  9. franky466
    ok,
    i downloaded and installed again, but nothing happens....
  10. Moonsoft support
    Hi,

    We have it working here. Please place a ticket in helpdesk with url, user/pass and we'll take a look.

    Regards,
  11. franky466
    Done,

    i placed a Ticket
  12. Moonsoft support
    Hi Dev,

    sorting works with the new version but only with whole numbers according to my test. ie 1, 2, 3.

    it does not work well with decimals and percentages on my list ie 2.40%, 2.30%.

    i wonder if you can reproduce it on your site.

    Thanks alot
  13. Moonsoft support
    Hi,
    the sorting can be of type 'numeric', so it will work with whole and decimal numbers, and 'text'. When you place a field content like 2.40% we assume you have defined the field as 'text' so the sorting will be in alphabetical order. Please try configuring the field as 'numeric' and launching again the sorting function.

    Regards

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket