changed trash model
This commit is contained in:
@ -21,7 +21,8 @@ namespace services
|
||||
|
||||
public static DataList ListTrashData(String token, String trashId)
|
||||
{
|
||||
return Api<DataList>.get("/api/collections/data/records/?trash_id="+trashId, token);
|
||||
return Api<DataList>.get("/api/collections/data/records/?filter=(trash_id=\"" + trashId +"\")&sort=-created", token);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user