Attributes integration tests compiling

This commit is contained in:
DanB
2018-07-23 04:47:01 +02:00
parent d66dcd527c
commit ad555cbde1
4 changed files with 26 additions and 24 deletions

View File

@@ -93,7 +93,7 @@ func NewRSRParser(parserRules string, allFiltersMatch bool) (rsrParser *RSRParse
if len(parserRules) == 0 {
return
}
rsrParser = &RSRParser{Rules: parserRules}
rsrParser = &RSRParser{Rules: parserRules, AllFiltersMatch: allFiltersMatch}
if strings.HasSuffix(parserRules, FILTER_VAL_END) { // Has filter, populate the var
fltrStart := strings.LastIndex(parserRules, FILTER_VAL_START)
if fltrStart < 1 {