Skip to content

Commit f123d85

Browse files
committed
fixup! WIP: htmx search for maintenance components
Add -frag moniker to partial templates
1 parent 4261b7d commit f123d85

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

python/nav/web/maintenance/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ def component_search(request):
384384
component_title = component_type._meta.verbose_name.title()
385385
results[component_title] = component_result
386386

387-
return render(request, 'maintenance/search-results.html', {'results': results})
387+
return render(
388+
request, 'maintenance/component-search-results-frag.html', {'results': results}
389+
)
388390

389391

390392
def add_box_to_maintenance(request):

0 commit comments

Comments
 (0)