Skip to content

Commit

Permalink
Update Generic.md (#14)
Browse files Browse the repository at this point in the history
Change "order" into "orders" in the example section
  • Loading branch information
pierrebaguet authored Jan 23, 2025
1 parent 6b71e67 commit 186f57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/loops/Generic.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Generic loop can return any table present in your database and configured with p
|------------|:--------------------------------------------------------------------------------------------------------------------------------|:------------------------------:|:------------------------------------|
| table_name*| The table name you want query | | |
| filters | A single or a list of filters to apply on columns in this format <code>column_name:value1,value2&#124;other_column:value</code> | | filters="id:1,3&#124;visible:1" |
| orders | A single or a list of orders to apply on columns in this format <code>column_name:DESC&#124;other_column:ASC</code> | | order="id:DESC&#124;created_at:ASC" |
| orders | A single or a list of orders to apply on columns in this format <code>column_name:DESC&#124;other_column:ASC</code> | | orders="id:DESC&#124;created_at:ASC"|
| locale | The locale for translated columns | The current locale for session | |
| limit | The number of rows to return | | limit="10" |

Expand Down

0 comments on commit 186f57f

Please sign in to comment.