mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-406 Facet rewrite is specific to {!afts .... it should be more general
This commit is contained in:
+1
-2
@@ -401,7 +401,7 @@ public class RewriteFacetParametersComponent extends SearchComponent
|
||||
continue;
|
||||
}
|
||||
|
||||
if(field.startsWith("{!afts"))
|
||||
if(field.startsWith("{!"))
|
||||
{
|
||||
int index = field.indexOf("}");
|
||||
if((index > 0) && (index < (field.length() - 1)))
|
||||
@@ -409,7 +409,6 @@ public class RewriteFacetParametersComponent extends SearchComponent
|
||||
prefix = field.substring(0, index+1);
|
||||
field = field.substring(index+1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(req.getSchema().getFieldOrNull(field) != null)
|
||||
|
||||
Reference in New Issue
Block a user