OneIdentity / IdentityManager.Imx

HTML5 source code for Identity Manager web apps
Other
32 stars 130 forks source link

Missing paging for Product Entitlements #173

Closed gitpm closed 1 week ago

gitpm commented 2 months ago

With the Product-entitlements the pagination is missing ( -> see Link)

see a possible fix for this problem: product-entitlements-paging-solution.zip

gitpm commented 2 months ago

The open point is that the search does not work with the API. The api call is dealing with BaseTreeHasObject, but the Entitlement Targets are SystemRoles, Resources, etc. Setting e.g. the ESet/DisplayName index Weighting to 1 shows no effect in the search result. Is there a solution for the problem? -> Maybe a local search for the data ?

hannoquest commented 2 months ago

Hi, Can you say which API call is not working with search? Search works fine over an API based on BaseTreeHasObject.

gitpm commented 2 months ago

Hi Hanno,

the api-call is: portal/shop/serviceitems/dfe60940-8cef-4889-a513-961b1674df03/entitlements?PageSize=20

image

without search: image

with Search: (https://si40v478/ApiServer/portal/shop/serviceitems/dfe60940-8cef-4889-a513-961b1674df03/entitlements?PageSize=20&search=Sprung) image -> As you can see the collection is empty. The DisplayName comes in this case from an Eset/DisplayName

hannoquest commented 2 months ago

Is your installation already on 9.2.1?

gitpm commented 2 months ago

No, we have an older version. 9.1 right now. As far I remember I had the same issue with 9.2. But I did not test 9.2.1. So we have to install 9.2.1 and works. Is it correct ?

hannoquest commented 2 months ago

Yes, this was fixed for 9.2.1.

gitpm commented 1 month ago

Hi Hanno, thx for your input