From: Erik Bernhardson Date: Thu, 13 Sep 2018 18:49:59 +0000 (-0700) Subject: Give search results a consistent css class to select X-Git-Tag: 1.34.0-rc.0~4089^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=d7ec79785f502cc557a88b366b0d3eea052f3267;p=lhc%2Fweb%2Fwiklou.git Give search results a consistent css class to select Results with and without thumbnails only share an li, and that li cannot be specifically targeted. Add a class to the li so anything that wants to deal with individual results can target them. Bug: T189242 Change-Id: I9b19c5e3d7d72d4be3a5ffdf280bf07b870ff3c0 --- diff --git a/includes/widget/search/FullSearchResultWidget.php b/includes/widget/search/FullSearchResultWidget.php index af1e02754c..66fc030ca4 100644 --- a/includes/widget/search/FullSearchResultWidget.php +++ b/includes/widget/search/FullSearchResultWidget.php @@ -107,7 +107,7 @@ class FullSearchResultWidget implements SearchResultWidget { ""; } - return "
  • {$html}
  • "; + return "
  • {$html}
  • "; } /**