Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/8c7087452559fa49963584f81b05b9668930fd4d You should set ROOT_URL correctly, otherwise the web may not work correctly.

fixed issue with sorting movie requests

pull/4246/head^2
stefangross 4 years ago
parent 0bbf5c1b56
commit 8c70874525

@ -315,7 +315,7 @@ namespace Ombi.Core.Engine
// TODO fix this so we execute this on the server
var requests = sortOrder.Equals("asc", StringComparison.InvariantCultureIgnoreCase)
? allRequests.ToList().OrderBy(x => x.RequestedDate).ToList()
? allRequests.ToList().OrderBy(x => prop.GetValue(x)).ToList()
: allRequests.ToList().OrderByDescending(x => prop.GetValue(x)).ToList();
var total = requests.Count();
requests = requests.Skip(position).Take(count).ToList();

Loading…
Cancel
Save