Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/d70a9195ea895f6814e2b3c238365d3e6b607bb1?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
2 deletions
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Housekeeping.Housekeepers
{
{
using ( var mapper = _database . OpenConnection ( ) )
using ( var mapper = _database . OpenConnection ( ) )
{
{
var usedTags = new [ ] { "Artists" , "Notifications" , "DelayProfiles" , "ReleaseProfiles" }
var usedTags = new [ ] { "Artists" , "Notifications" , "DelayProfiles" , "ReleaseProfiles" , "ImportLists" , "Indexers" }
. SelectMany ( v = > GetUsedTags ( v , mapper ) )
. SelectMany ( v = > GetUsedTags ( v , mapper ) )
. Distinct ( )
. Distinct ( )
. ToArray ( ) ;
. ToArray ( ) ;
@ -32,7 +32,7 @@ namespace NzbDrone.Core.Housekeeping.Housekeepers
private int [ ] GetUsedTags ( string table , IDbConnection mapper )
private int [ ] GetUsedTags ( string table , IDbConnection mapper )
{
{
return mapper . Query < List < int > > ( $"SELECT DISTINCT Tags FROM {table} WHERE NOT Tags = '[]' ")
return mapper . Query < List < int > > ( $"SELECT DISTINCT Tags FROM {table} WHERE NOT Tags = '[]' AND NOT Tags IS NULL ")
. SelectMany ( x = > x )
. SelectMany ( x = > x )
. Distinct ( )
. Distinct ( )
. ToArray ( ) ;
. ToArray ( ) ;