We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24495
    • 407 Posts
    Am I right that the &sortBy is the default sort order? Provided ID order is extraneous?

    In this case Ditto should have ability to work with a &sortBy=`id` which means that it sorts in the order of the IDs provided. Or, to avoid misconceptions, there should be multiple paramaters like "idnum" for a numerical sort order and "idseq" for sort order in the sequence of IDs provided.

    What about this?
      • 18397
      • 3,250 Posts
      &sortBy defaults to createdon. If you did &sortBy=`id` it would numerically sort the IDs. Eventually I hope to allow &sortBy=`id_sequential` which will maintain the order of the document IDs provided.
        • 24495
        • 407 Posts
        would be great.
          • 11975
          • 2,542 Posts
          Quote from: rasc at Mar 16, 2007, 02:59 AM

          Don’t like the tvEditor this time because you must change the ditto class. I think we should NOT change any snippets code/core code if a solution can be done by an other individual snippet. By heavy changing codes any upgrade of modx can run in errors. Maybe it works anytime without hacking codes.

          The hack consist in one line in buildUrl function.

          And 2 new filters to add in filter.class.

          Compared to the benefits of tveditor, that’s not too much to change smiley

          With tveditor you can sort tvoptions, edit their values with a GUI
          The docs with values wil be updated when options value are changed what’s not the case currently
          There is also searching features on each Tv or a tvset (the lastest beta offers the ability to create custom forml in back end to retrieve documents).

          and much more ...

          :-)
            Made with MODx : [url=http://www.copadel.com]copadel, fruits et l
            • 24495
            • 407 Posts
            sounds nice, should have a look at this. But first my clients are crying grin