[PR #449] [MERGED] use default sort order for search/advanced search pages #822

Closed
opened 2026-02-25 21:36:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/449
Author: @kroky
Created: 1/4/2021
Status: Merged
Merged: 1/15/2021
Merged by: @jasonmunro

Base: masterHead: bugfix/sort-date-in-search


📝 Commits (1)

  • 4c107c6 use default sort order for search/advanced search pages

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 modules/imap/functions.php (+1 -1)
📝 modules/imap/setup.php (+2 -0)

📄 Description

Search and Advanced Search ajax pages did not correctly load the default sort order setting and thus were still using Arrival date instead of Sent date even if the setting was enabled. This PR tries to correct the problem by exposing default sort order in case list_sort is empty - e.g. when search pages are using the imap message list functions.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/449 **Author:** [@kroky](https://github.com/kroky) **Created:** 1/4/2021 **Status:** ✅ Merged **Merged:** 1/15/2021 **Merged by:** [@jasonmunro](https://github.com/jasonmunro) **Base:** `master` ← **Head:** `bugfix/sort-date-in-search` --- ### 📝 Commits (1) - [`4c107c6`](https://github.com/cypht-org/cypht/commit/4c107c6a91f789fc44fff444fad5e9c4a2b4eb90) use default sort order for search/advanced search pages ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modules/imap/functions.php` (+1 -1) 📝 `modules/imap/setup.php` (+2 -0) </details> ### 📄 Description Search and Advanced Search ajax pages did not correctly load the default sort order setting and thus were still using Arrival date instead of Sent date even if the setting was enabled. This PR tries to correct the problem by exposing default sort order in case list_sort is empty - e.g. when search pages are using the imap message list functions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:36:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#822
No description provided.