-
Notifications
You must be signed in to change notification settings - Fork 0
Use ListDecorators when retrieving a table's custom results #528
Copy link
Copy link
Open
Milestone
Description
Information
As was done for table's attributes, the information about custom results should be provided using ListDecorators. That would allow filtering in the templates themselves, as needed.
Actions required
- Extend ListDecorator interface to add "getDifferent()" method.
- Make AbstractTableDecorator return a ListDecorator in "getDifferentCustomResults()".
- Rename "getDifferentCustomResults()" to "getCustomResults()".
- Refactor "TableAttributesPartialListDecorator" to extract a parent "AbstractPartialListDecorator".
- Add Operation.DIFFERENT to AbstractPartialListDecorator.
- Implement a TableCustomResultsPartialListDecorator, supporting "getMultiple()" and "getSingle()" filters.
Steps to reproduce
- Use <table.customResults.different.only.single> template.
- Check the affected custom results are not provided.
Acceptance criteria
- Use <table.customResults.different.only.single> template.
- Check the affected custom results are provided.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels