earlSt1 / vtt-compendium-folders

Collapsable folders in the compendium directory and folder structures inside compendiums for FoundryVTT
21 stars 18 forks source link

Recent update broke Merging by Name #100

Closed sneat closed 2 years ago

sneat commented 2 years ago

Describe the bug The recent update missed a couple of references to .data that doesn't exist on the existingFolder value. Correct reference should be existingFolder.flags.cf...

Locations are: https://github.com/earlSt1/vtt-compendium-folders/blob/fic-api/fic-folders.js#L1136-L1137 https://github.com/earlSt1/vtt-compendium-folders/blob/fic-api/fic-folders.js#L1206 Alternatively, search for existingFolder.data.

To Reproduce Export Folder Structure to a compendium. Export the same Folder Structure to a compendium ticking the "Merge by Name" option.

Information

earlSt1 commented 2 years ago

Ahh thanks for reporting this, I'll jump on this in the evening.

earlSt1 commented 2 years ago

Fixed in v2.3.51