app/views/kaui/invoices/index.html.erb in kaui-0.15.1 vs app/views/kaui/invoices/index.html.erb in kaui-0.15.2
- old
+ new
@@ -25,10 +25,10 @@
</div>
<%= javascript_tag do %>
$(document).ready(function() {
$('#invoices-table').dataTable({
- <% if @search_query.blank? %>
+ <% if @account.account_id.blank? %>
"dom": "<'row'r>t<'row'<'col-md-6'i><'col-md-6'p>>",
"pagingType": "full_numbers",
"pageLength": <%= @limit %>,
"displayStart": <%= @offset %>,
<% else %>