@arsedizioni/ars-utils 21.1.69 → 21.1.71

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