Skip to content

Commit 0b4b994

Browse files
josegar74fxprunayre
authored andcommitted
Update the default sort field name in editor board and batch editor.
Follow up of geonetwork#7910
1 parent e3f69f2 commit 0b4b994

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web-ui/src/main/resources/catalog/js/edit/BatchEditController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
hitsperpageValues: gnSearchSettings.hitsperpageValues,
6060
selectionBucket: "e101",
6161
params: {
62-
sortBy: "dateStamp",
62+
sortBy: "changeDate",
6363
sortOrder: "desc",
6464
isTemplate: ["y", "n"],
6565
editable: "true",

web-ui/src/main/resources/catalog/js/edit/EditorBoardController.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
filters: gnSearchSettings.filters,
8181
configId: "editor",
8282
params: {
83-
sortBy: "dateStamp",
83+
sortBy: "changeDate",
8484
sortOrder: "desc",
8585
isTemplate: ["y", "n"],
8686
draft: gnGlobalSettings.gnCfg.mods.editor.workflowSearchRecordTypes || [
@@ -92,7 +92,7 @@
9292
to: 20
9393
},
9494
defaultParams: {
95-
sortBy: "dateStamp",
95+
sortBy: "changeDate",
9696
sortOrder: "desc",
9797
isTemplate: ["y", "n"],
9898
draft: gnGlobalSettings.gnCfg.mods.editor.workflowSearchRecordTypes || [

0 commit comments

Comments
 (0)