Bug 41987: Remove duplicate searchresult-breeding id

The searchresult-breeding id was present on both the wrapper div and
the "no results" alert element, causing duplicate id usage in the DOM.

This patch ensures the id is only used once on the parent container
and keeps the anchor link functional.

Signed-off-by: Artur Mickiewicz <davno_pora@mail.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Artur Mickiewicz 2026-04-22 09:04:08 +00:00 committed by Lucas Gass
parent 946ce25c52
commit a202ff3d33
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@
</div>
<!-- /.page-section -->
[% ELSE %]
<div class="alert alert-info" id="searchresult-breeding"> [% tx("No reservoir search results for '{query}'", {query = query}) | html %] </div>
<div class="alert alert-info"> [% tx("No reservoir search results for '{query}'", {query = query}) | html %] </div>
[% END # /IF breeding_loop %]
</div>
<!-- /#searchresult-breeding -->