diff --git a/package.json b/package.json index 11629812..eb78c1f0 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "image-size": "0.9.3", "jimp": "0.16.1", "locale": "0.1.0", - "natural-orderby": "^2.0.3", "reflect-metadata": "0.1.13", "sharp": "0.23.4", "sqlite3": "5.0.0", @@ -115,6 +114,7 @@ "karma-remap-istanbul": "0.6.0", "karma-systemjs": "0.16.0", "mocha": "8.2.1", + "natural-orderby": "2.0.3", "ng2-cookies": "1.0.12", "ng2-slim-loading-bar": "4.0.0", "ngx-bootstrap": "5.2.0", diff --git a/src/frontend/app/pipes/StringifySearchQuery.ts b/src/frontend/app/pipes/StringifySearchQuery.ts index 92f9694b..a5ec40b4 100644 --- a/src/frontend/app/pipes/StringifySearchQuery.ts +++ b/src/frontend/app/pipes/StringifySearchQuery.ts @@ -5,8 +5,6 @@ import {SearchQueryDTO} from '../../../common/entities/SearchQueryDTO'; @Pipe({name: 'searchQuery'}) export class StringifySearchQuery implements PipeTransform { transform(query: SearchQueryDTO): string { - console.log(query); - console.log(SearchQueryDTO.stringify(query)); return SearchQueryDTO.stringify(query); } } diff --git a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts index 68b35cea..5b16d8a9 100644 --- a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts +++ b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.ts @@ -44,7 +44,6 @@ export class GalleryNavigatorComponent implements OnChanges { } ngOnChanges() { - console.log(this.searchResult); this.getPath(); this.DefaultSorting = this.galleryService.getDefaultSorting(this.directory); } diff --git a/src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.ts b/src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.ts index 6dc45c07..0f72a0bb 100644 --- a/src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.ts +++ b/src/frontend/app/ui/gallery/random-query-builder/random-query-builder.gallery.component.ts @@ -59,8 +59,7 @@ export class RandomQueryBuilderGalleryComponent implements OnInit, OnDestroy { try { this.searchQueryDTO = SearchQueryDTO.parse(this.rawSearchText); this.url = NetworkService.buildUrl(Config.Client.publicUrl + '/api/gallery/random/' + this.HTMLSearchQuery); - console.log(this.searchQueryDTO); - } catch (e) { + } catch (e) { console.error(e); } } diff --git a/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.ts b/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.ts index 9dd5363c..5a40f2dc 100644 --- a/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.ts +++ b/src/frontend/app/ui/gallery/search/query-enrty/query-entry.search.gallery.component.ts @@ -89,7 +89,6 @@ export class GallerySearchQueryEntryComponent implements ControlValueAccessor, V } addQuery(): void { - console.log('clicked', this.IsListQuery); if (!this.IsListQuery) { return; } diff --git a/src/frontend/app/ui/gallery/search/search.gallery.component.ts b/src/frontend/app/ui/gallery/search/search.gallery.component.ts index 10cca50d..38a22835 100644 --- a/src/frontend/app/ui/gallery/search/search.gallery.component.ts +++ b/src/frontend/app/ui/gallery/search/search.gallery.component.ts @@ -115,7 +115,6 @@ export class GallerySearchComponent implements OnDestroy { validateRawSearchText() { try { this.searchQueryDTO = SearchQueryDTO.parse(this.rawSearchText); - console.log(this.searchQueryDTO); } catch (e) { console.error(e); }