natasha hace 1 semana
padre
commit
cf10c6c525
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/search/searchDetail.vue

+ 3 - 1
src/views/search/searchDetail.vue

@@ -300,7 +300,9 @@ export default {
         only_my_bought: this.selectIndex,
         study_phase: this.gradeIndex,
         release_year: this.yearIndex,
-        order_bys: orderObj ? [orderObj] : [],
+        order_bys: orderObj
+          ? [orderObj]
+          : [{ name: "releaseDate", asc: false }],
       };
       getLogin(MethodName, data)
         .then((res) => {