Public search: expose section filters and facet counts to themes
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start with ListingView::$search and the SearchDetails class it exposes to themes, then trace how the query, pagination and total are built from the PostgreSQL search. Add the selected section, section counts across all matching results rather than the current page, and filter URLs that keep the query and language. Done when a theme can render section filters and pagination keeps the chosen section, checked by a search test in the Laravel test suite.
Written by the indexing model from the issue text.
Description
The public search view model exposes the query, paginated results and total, but no section filter or section counts across all matching results. Counting the items on the current page would miss results on other pages.
Please expose the selected section, counts for the visible result set and filter URLs that preserve the query and language. Pagination should keep the selected section. The relevant surface is ListingView::$search (SearchDetails).
- Dominant language
- PHP
- Stars
- 1
- Forks
- 1
- Avg merge
- 1h 40m
- Merged PRs (30d)
- 143
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from temecms/teme
-
area/admin type/enhancement when/soon
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
area/media type/enhancement when/soon
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area/admin type/bug when/soon
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
area/import type/documentation when/soon
Difficulty 2/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area/admin area/import type/bug when/later
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
QuantConnect/Documentation#2940 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
e0ipso/simple_oauth_21#63 ·
Maintainers usually reply within 1 day