Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
F
facets
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
6
Merge Requests
6
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
facets
Commits
99894e25
Commit
99894e25
authored
Jul 08, 2017
by
borisson_
Committed by
borisson_
Jul 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2883298
by borisson_: Soft limit does not consider hierarchical facets
parent
99d3f0ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
js/soft-limit.js
js/soft-limit.js
+1
-1
No files found.
js/soft-limit.js
View file @
99894e25
...
...
@@ -32,7 +32,7 @@
var
facetsList
=
$
(
'
ul[data-drupal-facet-id="
'
+
facet
+
'
"]
'
);
// Hide facets over the limit.
facetsList
.
find
(
'
li:gt(
'
+
zero_based_limit
+
'
)
'
).
once
().
hide
();
facetsList
.
children
(
'
li:gt(
'
+
zero_based_limit
+
'
)
'
).
once
().
hide
();
// Add "Show more" / "Show less" links.
facetsList
.
once
().
filter
(
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment