Feature Wiki

Information about planned and released features

Tabs

Changing operator of taxonomies from OR to AND

1 Initial Problem

In Categories with Taxonomies, those objects are presented to which at least one of the selected nodes is assigned. The opterator for the query is 'OR'. This behaviour is not expected by most users. They expect only those objects to be displayed, to which ALL selected nodes are assigned, like in many other websites.

2 Conceptual Summary

The operator for queries is changed to 'AND': Only those objects are displayed to which all selected nodes are assigned.

Example: I select nodes A and B. Course X is assigned to node A; course Y to both nodes A and B. Only course Y is now displayed to me (With the current behaviour, both courses would be displayed to me).

It must be taken into account that for nodes to which sub-nodes have been assigned, marking the main node includes all sub-nodes. Likewise vice versa: Selecting a sub-node also works if the object has ONLY been assigned to the sub-node and not to the main node.

A textual hint should draw the user's attention to the fact that he/she is currently only shown those objects that correspond to all marked nodes.

3 User Interface Modifications

3.1 List of Affected Views

  • category - content (with enabled taxonomies side block)
  • category - content - selected objects

3.2 User Interface Details

textual hint:

3.3 New User Interface Concepts

none

3.4 Accessibility Implications

The change will not affect the accessibility of the feature, since it does not modify UI but only the behaviour of the current implementation.

4 Technical Information

No technical issues.

5 Privacy

There are no privacy related implications with this feature.

6 Security

No security issues.

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

Killing, Alexander [alex], 20.3.2023: I support this request.

JourFixe, ILIAS [jourfixe], 20 MAR 2023: We highly appreciate this suggestion and schedule the feature for ILIAS 9.

Killing, Alexander [alex], 10 May 2024: In the meantime we held a workshop on the taxonomy feature (see roadmap) and the general Javascript guidelines have been extended. Together with this change the option A.1 of the roadmap issue "Filter / Taxonomy Sideblock" should be implemented, too. Activation should not be possible, if the filter is in use, see https://github.com/ILIAS-eLearning/ILIAS/blob/trunk/components/ILIAS/Taxonomy/ROADMAP.md#filter--taxonomy-side-block Last but not least, the Javascript should be revised as native ES6 module.

JourFixe, ILIAS [jourfixe], 27 MAY 2024: We highly appreciate this suggestion and schedule the feature for ILIAS 10. As already mentioned by Alexander, either the filter is used or the taxonomy sideblock (when enabled). Both options won't be supported on a screen.

10 Implementation

Implemented as described above. Operator has been switched to AND now.

Test Cases

Test cases completed at 24.10.2024 Elagamy, Ahmed [Ahmed]

  • C5839 : Taxonomieknoten für Anzeige der Kategorieninhalte nutzen.
  • C77005 :  Filtern der Objekte mit Unterknoten.

Approval

Approved at 22 OCT 2024 by Kunkel, Matthias [mkunkel]

Last edited: 6. Nov 2024, 17:09, Elagamy, Ahmed [Ahmed]