Commits

Paul Ruane  committed 980392b

Fixed tag value queries which was broken by implied tags.

  • Participants
  • Parent commits 4581d3f

Comments (0)

Files changed (1)

File src/tmsu/storage/file.go

 		return typedExpression
 	case query.TagExpression:
 		return applyImplicationsForTag(typedExpression, impliersByTag)
-	case query.ValueExpression, query.EmptyExpression:
+	case query.ValueExpression, query.EmptyExpression, query.ComparisonExpression:
 		return expression
 	default:
-		panic(fmt.Sprintf("unsupported expression type '%v'.", typedExpression))
+		panic(fmt.Sprintf("unsupported expression type '%T'.", typedExpression))
 	}
 }