Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-8673

Configurable Report - Subcategories filter is too greedy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.11.1
    • None

      Hello,

      I create an issue based on this github issue : https://github.com/jleyva/moodle-block_configurablereports/issues/172

      I found two different use cases to avoid getting categories whose id is made up of another id (example with id 1 : id 10, id 11, id 111) :

      • if the selected category is a top parent category : the sql clause should filter on '/id/%' OR '/id' (if the top parent category is a leaf of the category tree)
      • if the selected category is a sub category : the sql clause should filter on '%/id/%' OR '%/id' (if the sub category is a leaf of the category tree)

      I will submit a pull request with this tested solution as soon as possible.

            jleyva Juan Leyva
            sebmehr Sébastien Mehr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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