Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6939477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:37:39+00:00 2026-05-27T12:37:39+00:00

By default, the wayfinder plugin in modx revo should sort by menuindex. This doesn’t

  • 0

By default, the wayfinder plugin in modx revo should sort by menuindex. This doesn’t seem to work. I have the following:

[[!Wayfinder? &startId=`2` &level=`1` &ignoreHidden=`TRUE` &outerClass=`news` &sortBy=`menuindex` &sortOrder=`DESC`]]

I suspect it’s something stupid I overlooked…

EDIT: I’ve made it work now.

I looked into the wayfinder code in wayfinder.class.php. The following line was commented out:

$c->groupby($this->modx->getSelectColumns('modResource','modResource','',array('id')));

It happened because of the following comment in the code:

/* not sure why this groupby is here in the first place. removing for now as it causes issues with the sortby clauses */

Maybe this will help someone in the future.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:37:39+00:00Added an answer on May 27, 2026 at 12:37 pm

    I looked at the wayfinder code in wayfinder.class.php The following line was commented: $c->groupby($this->modx->getSelectColumns(‘modResource’,’modResource’,”,array(‘id’)));

    It was commented out because of the following comment in the code:

    /* not sure why this groupby is here in the first place. removing for now as it causes issues with the sortby clauses */

    Maybe this helps anyone in the future

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

By default the webjump hotlist has the following which I use quite often: M-x
'Default UITableViewCell styles from Apple should not be used' Can somebody tell me what
By default, simple_form generates error messages in this form: <span class=error>error_text</span> but what i
By default, rsyslog doesn't sync data to log file immediately for performance reasons. Ref
By default my script is accessible by using this url http://localhost/myscript/public/ . But i
By default I use string constants in my code when I have a string
By default any WPF browser application will work only in internet explorer? If the
default date format in DatePicker is yyyy-mm-dd but i need dd-mm-yyyy. This one solution
Default, Windows controls don't have DoubleBuffer. When I use it, I can reduce flicker.
By default JUnit jars have the version number in the file name, eg junit-4.8.2.jar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.