Open vlad-khrychov opened 3 months ago
I researched. I succesfully sorting by the last update field(desc and asc) in Categories and Questions tables. Example of used: http://localhost:8080/resources-categories/?sort={"order":"asc","orderBy":"updatedAt"} http://localhost:8080/resources-categories/?sort={"order":"desc","orderBy":"updatedAt"}
http://localhost:8080/questions/?sort={"order":"desc","orderBy":"updatedAt"} http://localhost:8080/questions/?sort={"order":"asc","orderBy":"updatedAt"}
Sorting by the last update field in Categories and Questions tables on the My Resources page should work