Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33776

get_categories does not apply criteria filtering when addsubcategories is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.1
    • 2.3
    • Web Services

      The summary says it all, I guess.
      When addsubcategories is specified, the criteria should also be applied to the subcategories (take for instance category visibility).
      Currently, if we specify criteria['visible'] = 1 and addsubcategories = 1 (meaning get all visible categories and subcategories), only top categories get filtered for visibility, meaning that non visible subcategories will be returned as well. This should not happen.

            jerome Jérôme Mouneyrac
            fabiomsouto Fábio Souto
            Rossiani Wijaya Rossiani Wijaya
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.