MDL-73842 reportbuilder: add tags elements to course/user entities. 9ebd801c076d8c866225cb1657d87fb04faf61ad
authorPaul Holden <paulh@moodle.com>
Fri, 11 Feb 2022 10:15:59 +0000 (10:15 +0000)
committerPaul Holden <paulh@moodle.com>
Sun, 12 Jun 2022 18:53:24 +0000 (19:53 +0100)
commit9ebd801c076d8c866225cb1657d87fb04faf61ad
tree2cd66d35163f5a502aa36adf1182f58e49d8b3de
parentca583bddaf6e5ef231ee357a68b1aa37a4464ed0
MDL-73842 reportbuilder: add tags elements to course/user entities.

Both entities define columns and filters for related tags (referred
to as "interests" for users).

Create new generic tags filter type to facilitate this, which can be
re-used by any entities for components which support tagging.
reportbuilder/classes/local/entities/course.php
reportbuilder/classes/local/entities/user.php
reportbuilder/classes/local/filters/tags.php [new file with mode: 0644]
reportbuilder/tests/behat/conditioneditor.feature
reportbuilder/tests/local/entities/course_test.php
reportbuilder/tests/local/entities/user_test.php
reportbuilder/tests/local/filters/tags_test.php [new file with mode: 0644]
reportbuilder/upgrade.txt