Skip to content

Commit

Permalink
fix search object query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dirodriguezm committed Apr 8, 2024
1 parent 0aae146 commit c4bc566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/ztfApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function convertOrderMode(orderDesc) {
}

function renameFields(params) {
renameField(params, 'selectedClass', 'class_name')
renameField(params, 'selectedClassifier', 'classifier_name')
renameField(params, 'selectedClass', 'class')
renameField(params, 'selectedClassifier', 'classifier')
renameField(params, 'perPage', 'page_size')
renameField(params, 'sortBy', 'order_by')
renameField(params, 'sortDesc', 'order_mode')
Expand Down

0 comments on commit c4bc566

Please sign in to comment.