From 2b0d17ccf46cfdba4103b7287f0dadf289ad4faf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 15 Apr 2022 15:07:20 +0200 Subject: [PATCH] Reduce videos sort complexity Automatically use best sort if user is logged in and chose hot algorithm --- .../edit-basic-configuration.component.html | 1 - .../videos-list-common-page.component.ts | 3 +-- client/src/app/core/rest/rest.service.ts | 20 +++++++++--------- .../shared/shared-main/video/video.service.ts | 21 +++++++++++++++++-- .../video-filters-header.component.html | 1 - .../video-filters-header.component.ts | 9 ++------ 6 files changed, 32 insertions(+), 23 deletions(-) diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html index 3673a805b..bae9d9775 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html @@ -44,7 +44,6 @@