Add Daily Jobs note to search results
This commit is contained in:
parent
e5da01cfbb
commit
c8e7491c94
@ -18,6 +18,11 @@
|
|||||||
<span>{{ section['title'] }} ({{ section['total'] }})</span>
|
<span>{{ section['title'] }} ({{ section['total'] }})</span>
|
||||||
<a href="{{ section['view_all_url'] }}" class="btn btn-sm btn-outline-secondary">Open {{ section['title'] }}</a>
|
<a href="{{ section['view_all_url'] }}" class="btn btn-sm btn-outline-secondary">Open {{ section['title'] }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% if section['key'] == 'daily_jobs' %}
|
||||||
|
<div class="px-3 py-2 small text-muted border-bottom">
|
||||||
|
Note: The Daily Jobs page itself only shows results for the selected day. Search results can include matches that relate to jobs across other days.
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
<div class="card-body p-0">
|
<div class="card-body p-0">
|
||||||
{% if section['items'] %}
|
{% if section['items'] %}
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
|
|||||||
@ -25,6 +25,7 @@ This file documents all changes made to this project via Claude Code.
|
|||||||
- Changed "Open <section>" behavior from global search to pass `q` into destination pages and apply page-level filtering, so opened overviews reflect the same search term
|
- Changed "Open <section>" behavior from global search to pass `q` into destination pages and apply page-level filtering, so opened overviews reflect the same search term
|
||||||
- Changed filtering support on Inbox, Customers, Jobs, Daily Jobs, Run Checks, Tickets, Overrides, and Reports routes to accept wildcard-enabled `q` terms from search
|
- Changed filtering support on Inbox, Customers, Jobs, Daily Jobs, Run Checks, Tickets, Overrides, and Reports routes to accept wildcard-enabled `q` terms from search
|
||||||
- Changed Reports frontend loading (`/api/reports`) to forward URL `q` so client-side refresh keeps the same filtered result set
|
- Changed Reports frontend loading (`/api/reports`) to forward URL `q` so client-side refresh keeps the same filtered result set
|
||||||
|
- Changed Daily Jobs search section UI to show an explicit English note that the Daily Jobs page itself is day-scoped while search matches can reflect jobs across other days
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed `/search` page crash (`TypeError: 'builtin_function_or_method' object is not iterable`) by replacing Jinja dict access from `section.items` to `section['items']` in `templates/main/search.html`
|
- Fixed `/search` page crash (`TypeError: 'builtin_function_or_method' object is not iterable`) by replacing Jinja dict access from `section.items` to `section['items']` in `templates/main/search.html`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user