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.
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
Steps to reproduce
Acceptance criteria