Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check search limit depth with an inequality #154

Merged
merged 2 commits into from
Jan 20, 2013
Merged

Check search limit depth with an inequality #154

merged 2 commits into from
Jan 20, 2013

Commits on Jan 9, 2013

  1. Check search limit depth with an inequality

    Otherwise, when we check for equality, the test fails if the search start beneath
    the max depth.
    Eg: if I have the page ns1:ns2:mypage in my wiki, and launch the xmlrpc query
    getPagelist("ns1", "depth => 1"), without this patch, it retrieves mypage
    gturri committed Jan 9, 2013
    Configuration menu
    Copy the full SHA
    c647387 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2013

  1. If depth option is set to 0, we should recurse forever

    At least if we want to be consistent with search_universal
    gturri committed Jan 10, 2013
    Configuration menu
    Copy the full SHA
    8451f4a View commit details
    Browse the repository at this point in the history