mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 09:28:31 +02:00
Remove ipdb and remove search mode conditional that added explicit tag search behavior
This commit is contained in:
parent
6eb7d857f0
commit
dc6900e9fe
1 changed files with 2 additions and 6 deletions
|
@ -176,9 +176,9 @@ def search_mode(args: "Namespace", journal: Journal, **kwargs) -> None:
|
||||||
if (
|
if (
|
||||||
not _has_search_args(args)
|
not _has_search_args(args)
|
||||||
and not _has_display_args(args)
|
and not _has_display_args(args)
|
||||||
and not _has_only_tags(kwargs["config"]["tagsymbols"], args.text)
|
and not args.text
|
||||||
):
|
):
|
||||||
logging.debug("Search mode: has not search args")
|
logging.debug("Search mode: has no search args")
|
||||||
return
|
return
|
||||||
|
|
||||||
logging.debug("Search mode: has search args")
|
logging.debug("Search mode: has search args")
|
||||||
|
@ -374,10 +374,6 @@ def _change_time_search_results(
|
||||||
old_entries: list["Entry"],
|
old_entries: list["Entry"],
|
||||||
**kwargs,
|
**kwargs,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
||||||
import ipdb
|
|
||||||
|
|
||||||
ipdb.sset_trace()
|
|
||||||
# separate entries we are not editing
|
# separate entries we are not editing
|
||||||
# @todo if there's only 1, don't prompt
|
# @todo if there's only 1, don't prompt
|
||||||
entries_to_change = journal.prompt_action_entries(MsgText.ChangeTimeEntryQuestion)
|
entries_to_change = journal.prompt_action_entries(MsgText.ChangeTimeEntryQuestion)
|
||||||
|
|
Loading…
Add table
Reference in a new issue