mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
moved to tablesorter.
This commit is contained in:
parent
cda53cfd3a
commit
6a7e346bf2
22 changed files with 2321 additions and 2687 deletions
|
@ -16,15 +16,15 @@ namespace NzbDrone.Api.Directories
|
|||
: base("/directories")
|
||||
{
|
||||
_diskProvider = diskProvider;
|
||||
Post["/"] = x => GetDirectories();
|
||||
Get["/"] = x => GetDirectories();
|
||||
}
|
||||
|
||||
private Response GetDirectories()
|
||||
{
|
||||
if (!Request.Form.query.HasValue)
|
||||
if (!Request.Query.query.HasValue)
|
||||
return new List<string>().AsResponse();
|
||||
|
||||
string query = Request.Form.query.Value;
|
||||
string query = Request.Query.query.Value;
|
||||
|
||||
IEnumerable<String> dirs = null;
|
||||
try
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue