Opened 9 years ago

Closed 9 years ago

#1975 closed enhancement (fixed)

Improve filtering in project items list

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 3.7
Component: core Version:
Keywords: Cc:

Description

The ConditionalQueryElement class that was added in [7018] is useful for selective filtering. The code for listing project items should be modified so that it can use this kind of filtering.

After that we should add Subtype column to the list.

Change History (4)

comment:1 by Nicklas Nordborg, 9 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 9 years ago

(In [7032]) References #1975: Improve filtering in project items list

The list now uses the conditional query element. The filter implementation that enable/disable the restriction has been moved from the trashcan JSP file to a separate java class, ReturnClassFilter.

comment:3 by Nicklas Nordborg, 9 years ago

(In [7034]) References #1975: Improve filtering in project items list

Added 'subtype' column to the project items list.

Also realised that when filtering on a column that isn't available for some item type, those items should in most cases not be included. The implementation of conditionalRestriction() now supports an option to exclude all item types not matching the filter. The trashcan list was updated to work like this.

comment:4 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.