[AKU-186] CLONE - Faceted search: current Site is absent in drop-down list Created: 25-Mar-15  Updated: 01-Sep-15  Resolved: 25-Mar-15

Status: Closed
Project: [Archived] Aikau
Component/s: None
Affects Version/s: 1.0.8, 1.0.9, 1.0.10
Fix Version/s: 1.0.11

Type: Bug Priority: Critical
Reporter: Alfresco QA Team Assignee: Closed Issues
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Alfresco Enterprise v5.0.1 (r99365-b59) schema 8022
Redhat6.5 X64 PostgreSQL 9.3.6 Tomcat 7.0.59 JDK 7 u76 Alfresco+OpenLDAP 2.4.39

Attachments: PNG File search.png    
Issue Links:
Depends on MNT-13350 Search launched from site scope still... Closed
Depends on SHA-1521 Ability to limit the Live search scope Closed
Regression Since:
Story Points: 1
Sprint: Sprint 9



1. Create any site (e.g. "test")
2. Create or upload any file on the site "test" (e.g. "file.txt")
3. Fill in search field "file.txt" (you will need to start the search within site context) -> press Enter


Content is found successfully, faceted search page is opened

4. Click 'Search in' drop-down list

Observed result:

Drop-down list is contain:

  • 'All Sites'
  • 'Repository'

(see attachment)

Expected result:

Drop-down list should contain:

  • 'All Sites'
  • 'Repository'
  • current Site 'Sitename'

Alexander B.

Comment by Martin Doyle [X] (Inactive) [ 25-Mar-15 ]

Fixed by applying Kev's fix:

kroast@KEVLINUX:[~/Alfresco/Aikau/aikau-]$ git diff
diff --git a/aikau/src/main/resources/alfresco/header/SearchBox.js b/aikau/src/main/resources/alfresco/header/SearchBox.js
index fa8edd8..b10db37 100644
— a/aikau/src/main/resources/alfresco/header/SearchBox.js
+++ b/aikau/src/main/resources/alfresco/header/SearchBox.js
@@ -551,7 +551,7 @@ define(["dojo/_base/declare",
generateSearchPageLink: function alfresco_header_SearchBox__generateSearchPageLink(terms) {
var url;

  • var scope = this.site || this.defaultSearchScope;
    + var scope = this.defaultSearchScope;
    if (this.searchResultsPage)
    // Generate custom search page link...
Comment by Martin Doyle [X] (Inactive) [ 25-Mar-15 ]

Will be released in 1.0.11 and has already been hotfixed and released in

Generated at Mon Feb 18 06:51:50 GMT 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.