Comments (4)
@miq-bot add_label ui, question
from manageiq-ui-classic.
@dclarizio @h-kataria could you please look at this issue? Thank you!
from manageiq-ui-classic.
There are some issues regarding saving filters in Advanced Search:
Let's load an existing default filter (type "default") under Global Filters.
Then if we want to save the filter with the same name as a filter which is not global (in My Filters; "Global search" unchecked before saving), it allows us to save a filter normally and the new filter appears under My Filters.
If we click on "Save" button again, it allows us to save the same filter again, but no more filters with the name appear in the tree.
It looks like the existing filter was just edited and saved.
BUT when we were creating a new filter, we were clicking on the same button, on "Save".
It is not always clear if we create a new filter or if we edit the existing one. Or is it a bug?
If user tries to save a filter with an existing name it edits the filter and Creates a new one if no filter is found with the given name
Let's create and save a new global filter in Advanced Search (expression editor).
Let's use the filter (load).
Then if we want to save the filter with the same name as a filter which is not global (in My Filters; "Global search" unchecked before saving, it throws an error "Name has already been taken", even if we have nothing under My Filters.
MiqSearch has validates uniquenes of Name with scope as db, so in this case value of name and db of the user created global filter and non-global filter are not unique, which is why you are seeing "Name has already been taken" flash message on screen. if you look in miq_searches table in db, value of name column is prefixed by "default_"/"Global_"/"user_" depending upon what type of filter is being saved making it unique.
I think Search is working as designed. I hope this answers your questions, let me know if you have further questions
from manageiq-ui-classic.
Thank you very much for the comment, Harpreet! It was very useful.
from manageiq-ui-classic.
Related Issues (20)
- [Petrosian] Tabs conversion from HAML to React
- [Quinteros] Tabs conversion from HAML to React
- While the tenant is created, it suppose to be listing in cloud tenant page it may take up to four or five minutes. HOT 1
- [RFE] Add the Ability to use Wildcard Characters when using the Search Function in the UI HOT 5
- [RFE] Change Git Branch Dropdown to Default to the Currently used Branch/Tag When Refreshing a Git-Based Automation Domain HOT 2
- Disabled IP Address Fields for Provision Form with DHCP Address Mode
- [RFE] Let Table in Projects Summary Page link to a Pod's Summary Page HOT 1
- [RFE] Show Annotations in Container Summary Pages HOT 1
- [RFE] Add Labels to Container Projects Summary Page HOT 2
- React Warning: Unrecognized `isDisabled` Prop Passed to DOM Element in Provider Form HOT 7
- CVE-2024-21490 (High) detected in multiple libraries
- Cannot Add Provisioning Scope Tag values to Groups when Editing HOT 7
- Bug with Action Form - Tag Action Type
- Several bugs trying to add or remove assigned filters to user groups HOT 10
- Creating a Report about Load Balancers HOT 1
- Error in deleting widgets HOT 10
- Fix warnings for test cases
- Service Request Workflow States empty while workflow is running HOT 3
- Service Workflow States table doesn't show running states HOT 2
- Unable to add a Git Repository with `file://` URL HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manageiq-ui-classic.