@arsedizioni/ars-utils 21.1.17 → 21.1.19

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.
@@ -886,7 +886,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
886
886
  // Compose query
887
887
  let query = this.dialogData.query ?? '';
888
888
  if (this.dialogData.queryChunks) {
889
- query += '__CHUNKS__' + this.dialogData.id + ':' + this.dialogData.queryChunks;
889
+ query += '__CHUNKS__' + this.dialogData.queryChunks;
890
890
  }
891
891
  const url = this.clipperService.serviceUri +
892
892
  "/documents/render/?query=" +
@@ -2343,6 +2343,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
2343
2343
  openDocument(documentId, query, queryChunks) {
2344
2344
  if (!documentId)
2345
2345
  return;
2346
+ console.log("Opening document " + documentId);
2346
2347
  ClipperDocumentsUtils.openDocument(this.injector, documentId, query ?? this.filterParams.text, queryChunks, this.selectionMode(), null, this.themeService.getTheme(), this.canUseArchive(), this.canHandleTooManyResults());
2347
2348
  }
2348
2349
  ///