Skip to content

Commit

Permalink
Merge pull request #160 from jabardigitalservice/fix/sort-by-created-…
Browse files Browse the repository at this point in the history
…date-determining-authority

fix : sorting by created date on page list determining authority
  • Loading branch information
marsellavaleria19 authored Nov 8, 2023
2 parents 2bc0cca + ed86962 commit a41ffb8
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 a41ffb8

Please sign in to comment.