mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-2202] Not able to search for files (#5569)
* [AAE-2202] Not able to search for files * * fixd test * * fixed panel test * * fixed files search options * * added docs
This commit is contained in:
@@ -25,4 +25,5 @@ export interface AttachFileWidgetDialogComponentData {
|
||||
ecmHost: string;
|
||||
context?: string;
|
||||
isSelectionValid?: (entry: Node) => boolean;
|
||||
showFilesInResult?: boolean;
|
||||
}
|
||||
|
@@ -9,6 +9,7 @@
|
||||
<adf-content-node-selector-panel *ngIf="isLoggedIn()"
|
||||
id="attach-file-content-node"
|
||||
[isSelectionValid]="data?.isSelectionValid"
|
||||
[showFilesInResult]="data?.showFilesInResult"
|
||||
(select)="onSelect($event)">
|
||||
</adf-content-node-selector-panel>
|
||||
</mat-dialog-content>
|
||||
|
@@ -53,7 +53,8 @@ export class AttachFileWidgetDialogService {
|
||||
selected,
|
||||
ecmHost,
|
||||
context,
|
||||
isSelectionValid: this.isNodeFile.bind(this)
|
||||
isSelectionValid: this.isNodeFile.bind(this),
|
||||
showFilesInResult: true
|
||||
};
|
||||
|
||||
this.openLoginDialog(data, 'adf-attach-file-widget-dialog', '630px');
|
||||
|
Reference in New Issue
Block a user