Page 1 of 1

Notes, cleaning of

Posted: Sat Dec 09, 2023 4:55 pm
by tosim
Running Linux, using MMex1.5.3. Been using MMex since it first came out. I would like to know how to edit (clean out) the Notes.
FYI- Notes are what you may add when you are making a New Transaction. Bottom of list on left side. Would sure appreciate
any suggestions. Thank you.
mmex.jpg

Re: Notes, cleaning of

Posted: Sat Dec 09, 2023 10:00 pm
by Renato
Apparently the list of notes is derived from the notes of the bookings.
According to which rules is not known to me, the first, the last, random ?
Maybe @whall3y or @Nikolay can tell us more about this.

Re: Notes, cleaning of

Posted: Sun Dec 10, 2023 2:11 pm
by tosim
Thanks for the reply. Hopefully, someone can explain how.

Re: Notes, cleaning of

Posted: Sat Dec 30, 2023 4:30 am
by nstein
The "Frequently Used Notes" is just as it sounds -- a list of the 20 most frequently used notes on all transactions in the account (if you have a single account open) or across all accounts in the "All Transactions" view. There is no mechanism to clear the list, the list is calculated every time the transaction window is opened.

The logic is:

1. Fetch all transactions which have notes (restricted to transactions within the same account if you're in a single account view)
2. Count the number of times each note appears (meaning the text is 100% identical, case sensitive)
3. Sort the list of notes from most used to least used. In the event two notes are used the same amount of times, the one used on the most recent transaction date is displayed first.
4. Drop all but the top 20 most used notes. This is the list which is displayed.

I suppose if you always have unique notes, this means the list will just show you the 20 most recent notes.

Re: Notes, cleaning of

Posted: Sat Dec 30, 2023 4:09 pm
by tosim
Thank you for your reply.