Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
14.7.3, 14.7.5
-
None
-
Flagged
-
Orion
-
Quasar Sprint 319 C&S, Orion.Cycle6.Sprint1
-
Small (1-2)
Description
In old versions (v13.4), customer had the ability to search the URL in the Sitemap search bar and it would bring them directly to the page. Now, if URL is pasted in there, it does not give results and instead need to search by key terms from the URL and navigate through the tree structure to find the page we need.
Example Search: /attend/wcx/exhibit-sponsor/exhibit-floor (in order to find this page: https://www.myclient.org/attend/wcx/exhibit-sponsor/exhibit-floor) (screenshots attached)
Expectation:
URL based search should be supported
Functional Specs of the Implementation
Support sitemap search for path based searches as well
Assuming a sitemap entry at
/foo/bar/lux/myitem
Before this fix, a search for 'lux' would return a hit for /foo/bar/lux,
a search for 'myit' a hit for /foo/bar/lux/myitem but a search for
/foo/bar would not match anything. This is unhandy as some customers are
used to searching for eg for /foo/bar/lux/myitem
To support this, we also match for path based (next to a contains on
a path element), however the path based constraint is a 'startswith'
constraint AND that the 'search' contains an equal amount of slashes as
the results : the reason for this latter constraint is that if we search
for eg /foo/bar, we do not one the potential 50.000 descendants all to
be shown as result, but only /foo/bar. When we search for /foo/bar/l we
will show /foo/bar/lux, and no further descendants