@arsedizioni/ars-utils 21.1.70 → 21.1.72

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.
@@ -1055,6 +1055,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
1055
1055
  if (query.length > 0) {
1056
1056
  // Type
1057
1057
  if (query[0] === '$') {
1058
+ query = query.substring(1);
1058
1059
  this.lastQueryType = 'semantic';
1059
1060
  }
1060
1061
  // Reset
@@ -2405,6 +2406,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
2405
2406
  if ((this.filterParams.flags & ClipperQueryDocumentFlags.UseSemanticSearch) > 0) {
2406
2407
  query = '$' + query;
2407
2408
  }
2409
+ console.log('Opening document ' + documentId + ' with query: ' + query);
2408
2410
  ClipperDocumentsUtils.openDocument(this.injector, documentId, query, queryChunks, this.selectionMode(), null, this.themeService.getTheme(), this.canUseArchive(), this.canHandleTooManyResults());
2409
2411
  }
2410
2412
  ///