Skip to content

Commit

Permalink
row number query
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclems committed Dec 5, 2023
1 parent 92b7779 commit 7aacf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/gn_modulator/query/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def process_query_columns(self, params, order_by, id_role):

# row_number
if "row_number" in fields:
self = self.add_column(
self = self.add_columns(
sa.func.row_number().over(order_by=order_by).label("row_number")
)

Expand Down

0 comments on commit 7aacf7a

Please sign in to comment.