Skip to content

Commit

Permalink
fix : sorting by created date on component complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
marsellavaleria19 committed Nov 8, 2023
1 parent 183dabf commit ed86962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Aduan/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export default {
}
// default sort by updated date
if (this.checkComplaintTypeSortByUpdatedDateHandle()) {
if (this.checkComplaintTypeSortByUpdatedDateHandle() && !this.query.sort_by) {
this.setQuery({ sort_by: 'updated_at' })
}
Expand Down

0 comments on commit ed86962

Please sign in to comment.