Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is It Possible to remove unused items from the Advanced search "Add Filter" drop down

harshahid_h July 28, 2020

In Advanced Search, At the left bottom corner we have "Add Filter" drop down. I want to remove unused filter items from the drop down. 

add-filter.PNG
List of unused items - DATA CENTER COMPATIBILITY (DEMOCASEPRODDIR), VENDOR (DEMOCASEPRODDIR), TECHNOLOGY (DEMOCASEPRODDIR), WITH ANCESTOR. 

 

I tried using the below code, it works perfect. But it is getting affected in other places/pages where the same Select2 drop down is being used. I want to remove it only from Advanced search page.

.select2-drop.select2-display-none.aui-select2-drop.aui-dropdown2.aui-style-default.select2-with-searchbox.aui-layer.select2-drop-active .select2-results li:nth-child(-n+5) {
   display:none;
}

Any help is really appreciated.. 

Thanks in advance.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events