sort results decending
This commit is contained in:
parent
751f0355d6
commit
dbce26adfe
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ async def read_all_access_request_by_app_id(app_id: str): #, session: SessionCon
|
||||||
query += "from patient_manager.patient_queue "
|
query += "from patient_manager.patient_queue "
|
||||||
query += "inner join app_data.business "
|
query += "inner join app_data.business "
|
||||||
query += "on patient_queue.business_id = business.business_id "
|
query += "on patient_queue.business_id = business.business_id "
|
||||||
query += "where app_id = %s ORDER BY date_time ASC"
|
query += "where app_id = %s ORDER BY date_time DESC"
|
||||||
cursor.execute(query, (app_id,))
|
cursor.execute(query, (app_id,))
|
||||||
items = [
|
items = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue