-
Bug
-
Resolution: Fixed
-
Low
-
10
-
Severity 3 - Minor
-
0
-
Summary
When using the Livesearch macro of Confluence restricted by 2 or more labels and Space, if you hit enter after typing your words or click on See more results for: you get different results.
When you hit enter, the macro will get as results only pages where the 2 or more labels are matched, although when you are typing the words on the Livesearch bar, the results suggested are not the ones you get when hit enter.
Analysing the URL you will be able to see that when you hit enter the macro validates if all 2 or more labels are available on one page, although the preview of the results displays pages where just 1 of the labels are on the page, no need for all labels be matched. Although if you click on "See more results for:" when you are typing your search, the macro shows exactly the results that are expected as shown in the preview.
URL when hitting enter:
https://pece.atlassian.net/wiki/dosearchsite.action?cql=siteSearch+~+%22custom%22+and+space+%3D+%22TEST1%22+and+label+%3D+%22test%22+and+label+%3D+%22report%22+and+label+%3D+%22label%22&queryString=custom
It's almost like two different searches. When changing the URL, replacing all the "and" for "or", it worked.
Environment
Cloud
Confluence 1000.241.0
Steps to Reproduce
- Add the Livesearch to a page
- Restrict it to the space you are working
- Restrict it using 3 labels
- Create 1 page with the first label and the word "test"
- Create 1 page with the second label and the word "test"
- Create 1 page with the third label and the word "test"
- Create 1 page with all labels and the word "test"
- Try to search on the live search for test
- Hit enter on the keyboard
- Click on the search button to display the URL
- Return to the livesearch page, to the same search and click on "See more results for:"
Expected Results
In both cases, the macro should have the same behaviour, search for all labels, or separately.
Actual Results
Shows nothing when hitting enter
Workaround
Click on "See more results for:"
- is duplicated by
-
CONFCLOUD-53085 Allow LiveSearch Macro Parameter Reflects in Search Page
-
- Closed
-
-
CONFCLOUD-58691 Livesearch Macro not respecting Parameters once hitting Enter, or clicking Search-Icon
-
- Closed
-
-
CONFCLOUD-69318 Searching in the Livesearch macro brings inconsistent results
-
- Closed
-
-
CONFCLOUD-69319 Hitting enter/tapping the full search on the Livesearch macro redirects to the old search
-
- Closed
-
-
CONFCLOUD-70782 Specifying a label on Livesearch macro does not affect results from both the dropdown search results preview and the See more results for option
-
- Closed
-
[CONFCLOUD-53716] Livesearch macro issues on search
Labels | Original: affects-cloud cc-platform confirmed-bug | New: RIBS-SHORT affects-cloud cc-platform confirmed-bug |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Gathering Impact [ 12072 ] | New: Closed [ 6 ] |
Support reference count | Original: 9 | New: 10 |
Labels | Original: NMI14 affects-cloud cc-platform | New: affects-cloud cc-platform confirmed-bug |
Labels | Original: affects-cloud cc-platform | New: NMI14 affects-cloud cc-platform |
Support reference count | Original: 8 | New: 9 |
Remote Link | New: This issue links to "Page (Confluence)" [ 652309 ] |
UIS | Original: 1 | New: 0 |
UIS | Original: 0 | New: 1 |
UIS | Original: 17 | New: 0 |