refactor: Rename is_search to is_keyword_search for clarity.

For more clarity, the 3 related functions `is_search` in `filter.js`,
`message_list.js` and `message_list_data.js` are all renamed to
`is_keyword_search`.
This commit is contained in:
N-Shar-ma
2023-11-12 04:43:40 +05:30
committed by Tim Abbott
parent d1113b5371
commit ed59316ff6
10 changed files with 18 additions and 18 deletions

View File

@@ -866,7 +866,7 @@ export class MessageListView {
$rendered_groups = this._render_group({
message_groups: message_actions.prepend_groups,
use_match_properties: this.list.is_search(),
use_match_properties: this.list.is_keyword_search(),
table_name: this.table_name,
});
@@ -893,7 +893,7 @@ export class MessageListView {
$rendered_groups = this._render_group({
message_groups: [message_group],
use_match_properties: this.list.is_search(),
use_match_properties: this.list.is_keyword_search(),
table_name: this.table_name,
});
@@ -930,7 +930,7 @@ export class MessageListView {
$rendered_groups = this._render_group({
message_groups: message_actions.append_groups,
use_match_properties: this.list.is_search(),
use_match_properties: this.list.is_keyword_search(),
table_name: this.table_name,
});