From 8e50a600479419c39c9e34b3a4ed08d04a493cd4 Mon Sep 17 00:00:00 2001
From: Claas Kazzer <kazzer@uni-leipzig.de>
Date: Thu, 17 Dec 2020 13:46:37 +0100
Subject: [PATCH] refs #18703 [finc:vf5.1] renames un-luckily names css class

---
 themes/finc/scss/compiled.scss                    | 6 ++++--
 themes/finc/templates/search/controls/limit.phtml | 2 +-
 themes/finc/templates/search/controls/sort.phtml  | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss
index 316251e5e1e..77b05a8f648 100644
--- a/themes/finc/scss/compiled.scss
+++ b/themes/finc/scss/compiled.scss
@@ -1862,7 +1862,8 @@ footer {
   }
 }
 
-.search-controls-div {
+.limit-inner,
+.sort-inner {
   display: inline-block;
 }
 
@@ -1895,7 +1896,8 @@ footer {
   }
 
   // Place the refresh button near to the select box
-  .search-controls-div {
+  .limit-inner,
+  .sort-inner {
     display: flex;
   }
 }
diff --git a/themes/finc/templates/search/controls/limit.phtml b/themes/finc/templates/search/controls/limit.phtml
index 8c34fc5bc7c..d90750005b5 100644
--- a/themes/finc/templates/search/controls/limit.phtml
+++ b/themes/finc/templates/search/controls/limit.phtml
@@ -5,7 +5,7 @@
   <?php /* finc: DO NOT use class 'form-inline' as it messes up the select box */ ?>
   <form class="limit" action="<?=$this->currentPath() . $this->results->getUrlQuery()->setLimit(null)?>" method="post">
     <label for="limit"><?=$this->transEsc('Results per page')?></label>
-    <div class="search-controls-div">
+    <div class="limit-inner">
       <?php /* finc: DO NOT use class 'form-control' as it messes up the select box */ ?>
       <select id="limit" name="limit">
         <?php foreach ($limitList as $limitVal => $limitData): ?>
diff --git a/themes/finc/templates/search/controls/sort.phtml b/themes/finc/templates/search/controls/sort.phtml
index 557a995a4dc..ba9d20221c3 100644
--- a/themes/finc/templates/search/controls/sort.phtml
+++ b/themes/finc/templates/search/controls/sort.phtml
@@ -5,7 +5,7 @@
   <form class="search-sort text-right" action="<?=$this->currentPath()?>" method="get" name="sort">
     <?=$this->results->getUrlQuery()->asHiddenFields(['sort' => '/.*/']);?>
     <label for="sort_options_1"><?=$this->transEsc('Sort')?></label>
-    <div class="search-controls-div">
+    <div class="sort-inner">
       <?php /* finc: DO NOT use class 'form-control' as it messes up the select box */ ?>
       <select id="sort_options_1" name="sort">
         <?php foreach ($list as $sortType => $sortData): ?>
-- 
GitLab