Revert "Experiment: search attachment content"

This reverts commit b03f0ebe6b.
This commit is contained in:
M66B
2023-08-10 07:26:49 +02:00
parent 1913d5e3a7
commit 8412a69b39
10 changed files with 21 additions and 199 deletions

View File

@@ -114,7 +114,6 @@ public class FragmentDialogSearch extends FragmentDialogBase {
CheckBox cbKeywords = dview.findViewById(R.id.cbKeywords);
CheckBox cbMessage = dview.findViewById(R.id.cbMessage);
TextView tvSearchTextUnsupported = dview.findViewById(R.id.tvSearchTextUnsupported);
CheckBox cbAttachments = dview.findViewById(R.id.cbAttachments);
CheckBox cbNotes = dview.findViewById(R.id.cbNotes);
CheckBox cbHeaders = dview.findViewById(R.id.cbHeaders);
CheckBox cbHtml = dview.findViewById(R.id.cbHtml);
@@ -124,7 +123,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
CheckBox cbFlagged = dview.findViewById(R.id.cbFlagged);
CheckBox cbHidden = dview.findViewById(R.id.cbHidden);
CheckBox cbEncrypted = dview.findViewById(R.id.cbEncrypted);
CheckBox cbWithAttachments = dview.findViewById(R.id.cbWithAttachments);
CheckBox cbAttachments = dview.findViewById(R.id.cbAttachments);
Spinner spMessageSize = dview.findViewById(R.id.spMessageSize);
Button btnBefore = dview.findViewById(R.id.btnBefore);
Button btnAfter = dview.findViewById(R.id.btnAfter);
@@ -431,7 +430,6 @@ public class FragmentDialogSearch extends FragmentDialogBase {
criteria.in_subject = cbSubject.isChecked();
criteria.in_keywords = cbKeywords.isChecked();
criteria.in_message = cbMessage.isChecked();
criteria.in_attachments = cbAttachments.isChecked();
criteria.in_notes = cbNotes.isChecked();
criteria.in_headers = cbHeaders.isChecked();
criteria.in_html = cbHtml.isChecked();
@@ -439,7 +437,7 @@ public class FragmentDialogSearch extends FragmentDialogBase {
criteria.with_flagged = cbFlagged.isChecked();
criteria.with_hidden = cbHidden.isChecked();
criteria.with_encrypted = cbEncrypted.isChecked();
criteria.with_attachments = cbWithAttachments.isChecked();
criteria.with_attachments = cbAttachments.isChecked();
if (!criteria.fts) {
int pos = spMessageSize.getSelectedItemPosition();