mattmilburn / strapi-plugin-menus

A plugin for Strapi CMS to customize the structure of menus and menu items.
MIT License
112 stars 29 forks source link

Nested param included but not working when specifying the fields name #101

Closed thenaazimkhan closed 1 year ago

thenaazimkhan commented 1 year ago

Environment

What I have done

image image

The marketplace menu has 6 submenus but gets the children's data array empty.

issue

not getting the menu in a nested format when specifying the fields means getting a flat list.

But if I pass the params without specifying fields then I got the correct JSON.

image image
mattmilburn commented 1 year ago

Hi @thenaazimkhan I was able to reproduce the issue you discovered and I will try to make sure this is resolved in the next release, which should be later this week 👍🏻

mattmilburn commented 1 year ago

@thenaazimkhan Thank you again for raising this issue. It is now fixed in the latest version 1.4.0 of this plugin. Let me know how it goes for you 👍🏻

thenaazimkhan commented 1 year ago

Thanks, Mattmilburn

Thanks & Regard Naazim Khan Software Engineer +971 50 381 2267

On Fri, Apr 21, 2023 at 1:22 AM Matt Milburn @.***> wrote:

@thenaazimkhan https://github.com/thenaazimkhan Thank you again for raising this issue. It is now fixed in the latest version 1.4.0 https://github.com/mattmilburn/strapi-plugin-menus/releases/tag/v1.4.0 of this plugin. Let me know how it goes for you 👍🏻

— Reply to this email directly, view it on GitHub https://github.com/mattmilburn/strapi-plugin-menus/issues/101#issuecomment-1516963722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4D65RVR6D7HAXOQB5LU5LXCGSJBANCNFSM6AAAAAAWYWSZIY . You are receiving this because you were mentioned.Message ID: @.***>