Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

In directory picker, when a node is loaded, clear the filter (#974)

Joseph Milazzoa050f2909cc6
diff --git a/UI/Web/src/app/admin/_modals/directory-picker/directory-picker.component.ts b/UI/Web/src/app/admin/_modals/directory-picker/directory-picker.component.ts
index 2885c40de..82e7b5791 100644
--- a/UI/Web/src/app/admin/_modals/directory-picker/directory-picker.component.ts
+++ b/UI/Web/src/app/admin/_modals/directory-picker/directory-picker.component.ts
@@ -77,6 +77,7 @@ export class DirectoryPickerComponent implements OnInit {
loadChildren(path: string) {
this.libraryService.listDirectories(path).subscribe(folders => {
+ this.filterQuery = '';
this.folders = folders;
}, err => {
// If there was an error, pop off last directory added to stack