From: Stephanie Leary Date: Fri, 14 Apr 2023 20:42:21 +0000 (+0000) Subject: LP2009865 Revised search result headings & source order X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fsleary%2FLP2009865-catalog-search-result-headings;p=working%2FEvergreen.git LP2009865 Revised search result headings & source order Revises the hierarchy of headings in the search results. In combination with the H1 provided in in bug #1994711, the result is now: h1. Staff Catalog h2. Search Results (N) (repeat for each result:) h3. [Title] [Author] h2. Facets (repeat for each facet box:) h3. [Facet title] The source order of the results list and facet sidebar have been swapped. The facets still appear on the left visually, but now fall after the results in the document. Signed-off-by: Stephanie Leary --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.css b/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.css new file mode 100644 index 0000000000..bc382e4341 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.css @@ -0,0 +1,11 @@ +.facet-selected { + background-color: #DDD; +} + +.card { + width: 100%; +} + +.list-group-item { + padding: .5rem .75rem .5rem .75rem +} \ No newline at end of file diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.html index 2c2cb14cdb..01f3192a81 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/facets.component.html @@ -1,22 +1,14 @@ -
+

Facets

-

+

{{searchContext.result.facetData[facetConf.facetClass][name].cmfLabel}} -

+
-
-
-
-

- - + + + -

+
diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.css b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.css index 276fd94457..7e74d8ac91 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.css +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.css @@ -2,4 +2,14 @@ color: #212529; font-size: 1.15rem; font-weight: 500; +} + +/* put the facets first visually */ + +#eg-catalog-result-facets { + order: 1; +} + +#eg-catalog-result-records { + order: 2; } \ No newline at end of file diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.html b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.html index 58a6eeb4ad..4080ab62ec 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.html +++ b/Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.html @@ -65,10 +65,7 @@
-
- -
-
@@ -79,7 +76,10 @@
+
+
+