@arsedizioni/ars-utils 21.1.18 → 21.1.20
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 + '
|
|
889
|
+
query += '__CHUNKS__' + this.dialogData.id + '_' + this.dialogData.queryChunks;
|
|
890
890
|
}
|
|
891
891
|
const url = this.clipperService.serviceUri +
|
|
892
892
|
"/documents/render/?query=" +
|
|
@@ -1402,7 +1402,6 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1402
1402
|
*/
|
|
1403
1403
|
open(documentId, query, queryChunks, newWindow) {
|
|
1404
1404
|
if (!newWindow) {
|
|
1405
|
-
console.log("Opening document " + documentId);
|
|
1406
1405
|
if (this.opening)
|
|
1407
1406
|
this.opening.emit(documentId);
|
|
1408
1407
|
else
|
|
@@ -1537,7 +1536,6 @@ class ClipperDocumentsUtils {
|
|
|
1537
1536
|
dialogService.error("Documento non valido.");
|
|
1538
1537
|
return undefined;
|
|
1539
1538
|
}
|
|
1540
|
-
console.log("Opening document dialog " + documentId);
|
|
1541
1539
|
return dialogService.open(ClipperDocumentComponent, {
|
|
1542
1540
|
ariaLabel: 'documento',
|
|
1543
1541
|
autoFocus: false,
|