1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 01:02:05 +00:00

fixed mediacover images not being returned.

autocomplete now shows 20 results instead of 8
This commit is contained in:
kay.one 2013-05-20 13:30:23 -07:00
parent a36216c73c
commit dabbd5f90e
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,4 @@
using System;
using System.IO;
using System.Linq;
using NzbDrone.Common;
@ -30,6 +31,11 @@ public bool CanHandle(string resourceUrl)
return false;
}
if (resourceUrl.StartsWith("/mediacover", StringComparison.CurrentCultureIgnoreCase))
{
return false;
}
return Extensions.Any(resourceUrl.EndsWith);
}
}

View file

@ -15,7 +15,8 @@ define(['app'], function () {
}
});
},
minLength: 3
minLength: 3,
items :20
});
};