mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
Clean up unnecessary whitespace differences
This commit is contained in:
parent
50977078d0
commit
fb02684fd2
2 changed files with 39 additions and 39 deletions
|
@ -671,7 +671,7 @@ def list_bills():
|
|||
):
|
||||
bill_form.payed_for.data = session["last_selected_payed_for"][g.project.id]
|
||||
|
||||
# Extract filter values from request
|
||||
# filters from form
|
||||
filters = {
|
||||
"search": request.args.get("search", "").strip(),
|
||||
"date_from": request.args.get("date_from", "").strip(),
|
||||
|
@ -683,7 +683,7 @@ def list_bills():
|
|||
|
||||
filters_active = any(filters.values())
|
||||
|
||||
# Fetch bills
|
||||
# standard query if no filters are active
|
||||
if not filters_active:
|
||||
weighted_bills = g.project.get_bill_weights_ordered().paginate(per_page=100, error_out=True)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue