Skip to content

Commit

Permalink
Show all loans in the popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Novruu committed Nov 20, 2024
1 parent 62aa3b9 commit ba21d10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/admin/dashboard_beta/dashboard.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
});
$("section.active-loans form > svg").on("click", function() {
window.open("/admin/dashboard_beta/stackbar", '_blank', 'width=500,heigth=1000');
window.open("/admin/dashboard_beta/stackbar?limit=0", '_blank', 'width=500,heigth=1000');
});
});
Expand Down
4 changes: 1 addition & 3 deletions app/views/admin/dashboard_beta/stackbar_popup.slim
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ form.admin-dashboard_beta-popup action=request.path
select class="form-control" name="sort_order"
option value="desc" selected=('selected' if params[:sort_order] == 'DESC') = t("common.descending")
option value="asc" selected=('selected' if params[:sort_order] == 'ASC') = t("common.ascending")
label
span = t("common.quantity")
input class="form-control" type="number" name="limit" min="1" value=params[:limit]
input type="hidden" name="limit" value="0"
label
input class="form-control" type="submit" value=t("filter")
.loans-chart
Expand Down

0 comments on commit ba21d10

Please sign in to comment.