14 July 2018 at 12:45 #124910
Is it possible to search for nodes that were modified on a certain date?
Update: apologies for this question,”Search in ALL Nodes” allows for this.
Update2: the time filter is useful but still needs you to insert a word in the “search for” box.
What I am after is searching for nodes that were modified between 2 dates without being limited by having to insert that search word.15 July 2018 at 04:18 #124914
Where did you find an option to search by modification date? I don’t see that anywhere.
As for something to put in the search box, if you check ‘Regular Expression’ and Search for * (an asterisk), it would match every node.15 July 2018 at 10:58 #124915
Yes, if you use the search feature, you need to enter a search expression. But if yo use the feature to search in tags and node names (ctrl-t), no search expression is mandatory. It should do, what you (Klaas) want.15 July 2018 at 11:01 #12491615 July 2018 at 11:41 #124918
@cosmo: as usual, you’re a star !! Thanks for your help.
Couple of other points:
* if you look for a term/expression the result shows you on which line the expression occurs. When you look for a node modified before or after a date it lists the modified nodes but it does not tell you which lines were modified – actually all the listed nodes are shown as having been modified on line 1. Am I right when I say that?
* When you click the date button yo get a calendar, and below it there are 2 boxes with a changeable number in each (in my case 6 and 33) – see https://imgur.com/kaHfj6B
What do those boxes and numbers mean?16 July 2018 at 07:13 #124921
@klaas: Thanks, I am still on version 0.37.6 so I guess that is a new feature in version 0.38. For some reason no newer version has been added to the PPA.
I didn’t even realize I wasn’t getting the updates any more and my version is a year and a half behind. Is the PPA no longer supported?16 July 2018 at 07:19 #124922
@dragle: I have no idea what PAA is – please forgive me my ignorance.
As for updates: Cherrytree automatically informs you when there is an update, at least with me it does.
I don’t know if this search feature is new in 0.38, but I doubt it.16 July 2018 at 08:00 #124923
@Klaas: It’s OK, maybe you are on Windows and don’t have to use a PPA like on Linux. Anyway, I found that they had changed to a new one so I’ve switched to it and now I have the latest version, so all is good!
The boxes below the calendar appear to be the current hour and minute, so you can adjust them to include time as well as date in your search.16 July 2018 at 09:26 #124924
@dragle: glad you got that sorted out.
And for the 2 boxes, current hour & minutes seems strange. I just open the search node dialogue (CTRL+T) @ 10:12h my time, and the 2 boxes show 5 and 59 respectively. So compared to my screenshot they have changed, but whatever they represent, the little arrows indicate you can change them, so you can probably narrow down the search to hours and minutes, like you say. That provides for good granularity.16 July 2018 at 11:34 #124925
Regarding marking of modification: CT does not preserve a history of the data, so it cannot know, what has been modified; consequently it cannot mark anything inside of the search result window (without a search expression).
One hint more regarding the time setting for the searches: If you open the search dialog, you will find, that inside of the date / time buttons the preset time is always the current time of your system. Close the dialog and reopen it 1 or more minutes later and you will find, that the preset time has changed accordingly. – If you now click on the date / time button in the search dialogue to change the values, the time fields at the bottom have the same content as the button, which you clicked.
Regarding ppa and notification about new versions:
The old ppa showed already in the past to be rather unreliable and so giuspen added an own ppa 1 or 2 years ago. This ppa has shown to be always up to date (no surprise, as author and maintainer are identical). You can anyway activate in CT to search for new versions in the last section of the preferences; as long as a functioning ppa is present, this does not make much sense for Linux systems, but it is doable. It might be of interest for people, who use CT as well with Linuux and with Windows.16 July 2018 at 11:42 #124927
1. History of data – OK, understood, makes sense.
2. Time: I don’t see that it is linked to my system time, as explained to Dragle above. Nevertheless, they can be used to set the time as part of the search criteria.
3. PPA – that is a Linux issue, as Dragle explained so it is not applicable to me on my Windows system.16 July 2018 at 21:14 #124930
I tested the default time issue on the Search dialog Time filter. It appears that the system time is read when you first open CherryTree, and then remains the same until you close and re-open CherryTree.
Even when I opened a different file, the default time shown remained the same since CT had not been closed and re-opened. I also tried modifying and saving the file, but the default time stayed the same.
When I chose File | New instance to open another CT window, the time was updated for the new instance, but stayed the same in the original instance.
Edit to add: I would also suggest putting labels “Hour” and “Minute” on those Time boxes, or maybe just one label in front of both, like
Time: [ ]:[ ]
since it is kind of confusing at first to realize what they are for.
17 July 2018 at 06:16 #124932
- This reply was modified 8 months, 1 week ago by Dragle.
@dragle: many thanks for your help.
Regarding your last para, I agree with that comment, and assume that is a comment for Giuseppe since we as users cannot change anything to the UI.17 July 2018 at 11:20 #12493317 July 2018 at 12:07 #124935
@cosmo: yes, I thought it was a developer’s issue. It is not a big issue, but it is still a pity Giuseppe has not been able to do anything about it. The GTK/Python switch (why is he doing that anyway?) and the baby/family life take up a lot of his time, and therefore do not allow for new features or issue resolutions.
You must be logged in to reply to this topic.