dragotin / kraft

Kraft helps to handle your daily quotes and invoices in your small business.
http://volle-kraft-voraus.de
GNU General Public License v2.0
58 stars 18 forks source link

Moving template to another folder - empty folder is gone until restart #106

Closed ghost closed 2 years ago

ghost commented 3 years ago

Hi

Actually, the title already describes it.

Edit: I think there are more problems. The entire folder becomes unusable when you move templates

Edit 2: Maybe a sync button helps ;)

dragotin commented 3 years ago

I am not able to reproduce that. Can you describe more in detail? Is that in your setup with a central database? If you start Kraft from a console, do you see any output there that indicates a problem?

ghost commented 3 years ago

Create a folder and another folder on top of that. Create two templates in the first folder and move one template to the sec folder.

There is nothing in the console.

Edit: I'm trying to add a "KIT". So one folder which contains just a bunch of different templates - scope of work description. But moving multi templates in one folder "hides" a few other templates.

dragotin commented 2 years ago

Thanks for reporting these bugs. I dug deeper and fixed a whole bunch of issues with catalog sorting with the commit mentioned above. Now, manual sorting of catalogs on the catalog chapter and -item level by moving items around and dropping them on the right place should work fine.

Also, all catalog items that disappeared (because they got assigned an catalog chapter ID of 0 by a bug) will appear again on the top level. That might clutter peoples list a bit, but at least their work is saved.

Again, thanks for the report and the patience.