@arsedizioni/ars-utils 21.2.116 → 21.2.117
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.
|
@@ -887,6 +887,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
887
887
|
ngOnInit() {
|
|
888
888
|
if (this.dialogData) {
|
|
889
889
|
if (this.dialogData.id) {
|
|
890
|
+
console.log('Opening document', this.dialogData.id);
|
|
890
891
|
// Compose query
|
|
891
892
|
let id = this.dialogData.id;
|
|
892
893
|
const p = id.indexOf('#');
|
|
@@ -1592,6 +1593,7 @@ class ClipperDocumentsUtils {
|
|
|
1592
1593
|
dialogService.error("Documento non valido.");
|
|
1593
1594
|
return undefined;
|
|
1594
1595
|
}
|
|
1596
|
+
console.log('Opening document', documentId);
|
|
1595
1597
|
return dialogService.open(ClipperDocumentComponent, {
|
|
1596
1598
|
ariaLabel: 'documento',
|
|
1597
1599
|
autoFocus: false,
|
|
@@ -2069,7 +2071,6 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2069
2071
|
if ((this.filterParams.flags & ClipperQueryDocumentFlags.UseSemanticSearch) > 0) {
|
|
2070
2072
|
query = '$' + query;
|
|
2071
2073
|
}
|
|
2072
|
-
console.log('Opening document', documentId, 'with query', query, 'and chunks', queryChunks);
|
|
2073
2074
|
ClipperDocumentsUtils.openDocument(this.injector, documentId, query, queryChunks, this.selectionMode(), null, this.themeService.getTheme(), this.canUseArchive(), this.canHandleTooManyResults());
|
|
2074
2075
|
}
|
|
2075
2076
|
///
|