@bitcobblers/wod-wiki-ui 0.9.40 → 0.10.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3027,6 +3027,9 @@ function filterFragmentToClause(fragment, index) {
3027
3027
  const key = fragment.slice(0, colon2);
3028
3028
  const value = fragment.slice(colon2 + 1);
3029
3029
  if (!value.trim()) return null;
3030
+ if (key === "source") {
3031
+ return restoreClause(`c-source-${index}`, "source", value);
3032
+ }
3030
3033
  const builtin = FILTER_KEY_TO_CLAUSE_TYPE[key];
3031
3034
  if (builtin) {
3032
3035
  const restoredValue = builtin === "text" && value.length >= 2 && value.startsWith('"') && value.endsWith('"') ? value.slice(1, -1) : value;
@@ -3092,6 +3095,7 @@ function wqlToClauses(wql2) {
3092
3095
  restoreClause("c-time", "time", timeValue),
3093
3096
  ...remainingFilterClauses
3094
3097
  ];
3098
+ if (where) clauses2.push(restoreClause("c-where", "where", where));
3095
3099
  return clauses2;
3096
3100
  }
3097
3101
  if (window2) return null;