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: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Artur Mickiewicz 2026-04-22 09:04:08 +00:00 committed by Pedro Amorim
parent 1683524683
commit 237ecdc4bc
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
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 -->