Potential fix for one of the issues mentioned in #49
Reduces the number of SQL queries used on group_orders/index and group_orders/archive, but adds extra complexity to the code
This commit is contained in:
parent
602f663245
commit
5eb8abf431
7 changed files with 45 additions and 9 deletions
|
|
@ -1 +1 @@
|
|||
$('#closed_orders').html('#{escape_javascript(render("orders", orders: @closed_orders, pagination: true))}');
|
||||
$('#closed_orders').html('#{escape_javascript(render("orders", orders: @closed_orders_including_group_order, pagination: true))}');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue