Skip to content

Commit

Permalink
#273 added for only available content on the search
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Jun 7, 2016
1 parent 679236c commit 0fa42b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PlexRequests.UI/Modules/IssuesModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ private async Task<Response> ReportNonRequestIssue(int providerId, string type,



return Response.AsJson(new JsonResponseModel { Result = true });
return Response.AsJson(new JsonResponseModel { Result = false, Message = "Album Reports are not supported yet!"});
}

/// <summary>
Expand Down
2 changes: 2 additions & 0 deletions PlexRequests.UI/Views/Search/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@

<br />
</form>
{{#if_eq available true}}
<form method="POST" action="@url/issues/nonrequestissue/" id="report{{id}}">
<input name="providerId" type="text" value="{{id}}" hidden="hidden" />
<input name="type" type="text" value="{{type}}" hidden="hidden" />
Expand All @@ -216,6 +217,7 @@
</ul>
</div>
</form>
{{/if_eq}}
</div>

</div>
Expand Down

0 comments on commit 0fa42b9

Please sign in to comment.