dwipper commited on
Commit
9ba9ce5
·
1 Parent(s): 4864b49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -91,6 +91,8 @@ def get_schools():
91
  # Parameters for the API request to select only the 'school' field
92
  params = {
93
  'fields[]': 'school', # Replace with the name of your field
 
 
94
  }
95
 
96
  try:
 
91
  # Parameters for the API request to select only the 'school' field
92
  params = {
93
  'fields[]': 'school', # Replace with the name of your field
94
+ 'sort[0][field]': 'school', # Sort by the 'school' field
95
+ 'sort[0][direction]': 'asc', # Sort in ascending order
96
  }
97
 
98
  try: