-
Improvement
-
Resolution: Fixed
-
Neutral
-
6.1
-
None
-
None
-
-
Empty show more show less
-
Foundation 11
-
0
Right now the business logic is mixed with ui logic in the search results. The `excerpt` and `title` fields in the `SearchResult` class contain the following html logic:
- <strong> tags when highlighting the query string
- html escaping
- <excerpt> and <fragment> tags in the `excerpt` field
- fragment max size
UI logic is scattered across 2 classes `ExcerptProvider` and `Periscope` and should be moved into admin-central module, in `SearchResultsGrid`
Acceptance criteria
- clones
-
MGNLPER-98 Move the UI logic out of the search results
- Closed
- relates to
-
MGNLUI-4903 Investigation: Refactor Findbar in order to separate UI and backend logic
- Closed