fix: Set sort_order to DESC if sort_field is modified (#23697)

Global search and replace operation, including single doctypes where it does not really matter.
This commit is contained in:
Corentin Flr 2023-12-13 05:22:14 +01:00 committed by GitHub
parent 21261e63e6
commit 4f809630c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 44 additions and 44 deletions

View file

@ -53,7 +53,7 @@
],
"in_create": 1,
"links": [],
"modified": "2022-08-03 12:20:55.076769",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Automation",
"name": "Milestone",
@ -74,7 +74,7 @@
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "reference_type",
"track_changes": 1

View file

@ -35,7 +35,7 @@
}
],
"links": [],
"modified": "2022-08-03 12:20:54.955953",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Automation",
"name": "Milestone Tracker",
@ -55,7 +55,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -257,7 +257,7 @@
"image_field": "image",
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-10-02 12:00:27.299156",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Contacts",
"name": "Contact",
@ -392,7 +392,7 @@
],
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "full_name"
}

View file

@ -70,7 +70,7 @@
"idx": 1,
"in_create": 1,
"links": [],
"modified": "2023-08-23 14:20:15.343339",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "Error Log",
@ -89,7 +89,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "method"
}

View file

@ -189,7 +189,7 @@
"icon": "fa fa-file",
"idx": 1,
"links": [],
"modified": "2023-08-02 09:43:51.178012",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "File",
@ -217,7 +217,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "file_name",
"track_changes": 1

View file

@ -123,7 +123,7 @@
"link_fieldname": "module"
}
],
"modified": "2022-01-03 13:56:52.817954",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "Module Def",
@ -160,7 +160,7 @@
],
"show_name_in_global_search": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -102,7 +102,7 @@
"icon": "fa fa-file",
"idx": 1,
"links": [],
"modified": "2023-10-22 22:41:25.568952",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "Page",
@ -129,7 +129,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -148,7 +148,7 @@
"idx": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2022-08-05 18:33:27.694065",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "Role",
@ -169,7 +169,7 @@
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1,
"translated_doctype": 1

View file

@ -639,7 +639,7 @@
"icon": "fa fa-cog",
"issingle": 1,
"links": [],
"modified": "2023-11-27 14:08:01.927794",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "System Settings",
@ -655,7 +655,7 @@
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -54,7 +54,7 @@
"idx": 1,
"in_create": 1,
"links": [],
"modified": "2022-08-03 12:20:53.929691",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Core",
"name": "Version",
@ -74,7 +74,7 @@
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "docname",
"track_changes": 1

View file

@ -77,7 +77,7 @@
"idx": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2022-04-12 12:48:15.717985",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Custom",
"name": "Client Script",
@ -108,7 +108,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -457,7 +457,7 @@
"idx": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-10-25 06:55:10.713382",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Custom",
"name": "Custom Field",
@ -488,7 +488,7 @@
],
"search_fields": "dt,label,fieldtype,options",
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -483,7 +483,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2023-11-07 13:17:21.373626",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Custom",
"name": "Customize Form Field",
@ -491,6 +491,6 @@
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": []
}

View file

@ -86,7 +86,7 @@
"icon": "fa fa-file-text",
"idx": 1,
"links": [],
"modified": "2023-08-28 20:23:59.424943",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Desk",
"name": "Note",
@ -141,7 +141,7 @@
],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "title",
"track_changes": 1

View file

@ -99,7 +99,7 @@
}
],
"links": [],
"modified": "2023-08-28 20:22:58.267442",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Integrations",
"name": "Google Contacts",
@ -126,7 +126,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -102,7 +102,7 @@
],
"issingle": 1,
"links": [],
"modified": "2022-12-04 15:53:58.702389",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Integrations",
"name": "Google Drive",
@ -120,7 +120,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -168,7 +168,7 @@
"idx": 1,
"links": [],
"max_attachments": 3,
"modified": "2023-08-28 22:19:23.720332",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Printing",
"name": "Letter Head",
@ -192,7 +192,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -37,7 +37,7 @@
],
"istable": 1,
"links": [],
"modified": "2022-08-03 12:20:51.571158",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Social",
"name": "Review Level",
@ -45,7 +45,7 @@
"permissions": [],
"quick_entry": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -338,7 +338,7 @@
"index_web_pages_for_search": 1,
"is_published_field": "published",
"links": [],
"modified": "2022-03-09 01:45:28.548671",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Website",
"name": "Web Page",
@ -357,7 +357,7 @@
"search_fields": "title",
"show_name_in_global_search": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"title_field": "title",
"track_changes": 1

View file

@ -476,7 +476,7 @@
"index_web_pages_for_search": 1,
"issingle": 1,
"links": [],
"modified": "2023-10-14 11:38:47.383840",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Website",
"name": "Website Settings",
@ -498,7 +498,7 @@
}
],
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -104,7 +104,7 @@
"icon": "fa fa-random",
"idx": 1,
"links": [],
"modified": "2023-05-02 16:56:28.704844",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Workflow",
"name": "Workflow",
@ -123,7 +123,7 @@
],
"show_name_in_global_search": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1
}

View file

@ -40,7 +40,7 @@
"icon": "fa fa-flag",
"idx": 1,
"links": [],
"modified": "2023-08-28 22:19:35.232574",
"modified": "2023-12-08 15:52:37.525003",
"modified_by": "Administrator",
"module": "Workflow",
"name": "Workflow State",
@ -65,7 +65,7 @@
"quick_entry": 1,
"show_name_in_global_search": 1,
"sort_field": "modified",
"sort_order": "ASC",
"sort_order": "DESC",
"states": [],
"track_changes": 1,
"translated_doctype": 1