We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ca6344 commit 39afce2Copy full SHA for 39afce2
1 file changed
solarnet/datum/src/main/java/net/solarnetwork/central/datum/v2/support/DatumUtils.java
@@ -320,8 +320,8 @@ private DatumUtils() {
320
c.setOffset(o);
321
322
// if tags provided, use those unless metadataFilter was already provided
323
- if ( c.getSearchFilter() == null
324
- || c.getSearchFilter().isEmpty() && tags != null && tags.length > 0 ) {
+ if ( (c.getSearchFilter() == null || c.getSearchFilter().isEmpty()) && tags != null
+ && tags.length > 0 ) {
325
c.setSearchFilter(generateTagsSearchFilter(tags));
326
}
327
0 commit comments