mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-19] Search libraries improvements (#792)
* [ACA-19][ACA-1967] set Libraries columns according to updated requirement * [ACA-19] search term length hint & singular result translation fixes also [ACA-1933]
This commit is contained in:
committed by
Denys Vuika
parent
4a420cc9f9
commit
aeb8ddd1f2
@@ -85,4 +85,10 @@ export class SearchInputControlComponent implements OnDestroy {
|
||||
this.searchTerm = '';
|
||||
this.searchChange.emit('');
|
||||
}
|
||||
|
||||
isTermTooShort() {
|
||||
const alphanumericTerm = this.searchTerm.replace(/[^0-9a-z]/gi, '');
|
||||
|
||||
return this.searchTerm.length && alphanumericTerm.length < 2;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user