Re-use of platform search url has problems
Summary
When I search for devices, then I can add some text & add a filter for a manufacturer for example. After I run the search the url adds some parameters & I can copy it to another window, open it there & have the same devices in my list.
For the platform search, the parameters are set in the url, but not properly recognized for the search.
Steps to reproduce
- Insert some platforms so that we can test the search.
- Open the url to search for platforms.
- Switch to the extended search
- Insert a string xzy for the text search & select the manufacturer Ackermann KG
- Click on search
- After the search I got no platform at all.
- Copy the url to the clipboard & open it on another tab / window. (In my case https://localhost/platforms?searchText=xyz&manufacturer=22)
- It seems to insert the text into the basic search & it also looks like the manufacturer is set into the extended search, but it does not recognized those parameters to run the initial search with it.
(And it seems to stay with the basic search, while it is clear that we have some more search parameters).
What is the current bug behavior?
It stays in the basic search & doesn't use the parameters that are given in the url.
What is the expected correct behavior?
It switches over to the extended search (as we defined a manufacturer constraint) & it should take both parameters (text & manufacturer) to run the inital search.
Some logs and/or screenshots
Possible fixes
I guess it is somehow related to the ordering to parse the parameters & to run the first search.
ToDo's
-
Bug reproduced -
Cause found -
Bug fixed