Community
Participate
Working Groups
Recently i changed the API to only show categories for the tools market. However MPC still lists the categories for Tools when using the RCP Applications Market. Ian brought up the point with me yesterday that this should be controlled on the server rather then the client. Would it be possible to make it so that the client only displays what the API is sending for the Markets category children.
Currently the combobox aggregates all categories from all markets (cf. MarketplaceWizardCommand l. 127ff). I can simply change it to only show the categories of the currently selected markets and update the combobox when the market selection changes. I'd also sort the categories list alphabetically while I'm at it.
(In reply to comment #1) > Currently the combobox aggregates all categories from all markets (cf. > MarketplaceWizardCommand l. 127ff). > > I can simply change it to only show the categories of the currently selected > markets and update the combobox when the market selection changes. I'd also > sort the categories list alphabetically while I'm at it. +1
I've pushed a fix here https://git.eclipse.org/r/#/c/10661/ and it's already merged into master. Thanks Benny and Steffen for the review. Categories are now updated on every switch between markets and sorted alphabetically.