Skip to content

Commit

Permalink
Merge pull request #260 from flycash/bug/GenericMergeFilter
Browse files Browse the repository at this point in the history
Fix BUG:  The generic filter and default reference filters lack ','
  • Loading branch information
fangyincheng authored Nov 24, 2019
2 parents 4f25df1 + a420214 commit 71552be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/reference_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (refconfig *ReferenceConfig) getUrlMap() url.Values {
//filter
var defaultReferenceFilter = constant.DEFAULT_REFERENCE_FILTERS
if refconfig.Generic {
defaultReferenceFilter = constant.GENERIC_REFERENCE_FILTERS + defaultReferenceFilter
defaultReferenceFilter = constant.GENERIC_REFERENCE_FILTERS + "," + defaultReferenceFilter
}
urlMap.Set(constant.REFERENCE_FILTER_KEY, mergeValue(consumerConfig.Filter, refconfig.Filter, defaultReferenceFilter))

Expand Down

0 comments on commit 71552be

Please sign in to comment.