Cannot select all segments when having more then 50

Created on 10 January 2025, 3 months ago

Problem/Motivation

When retrieving the segments to define visibility for it, we use the default get segments call this has a limit of 50 segments, so we do not get all segments we have to choose from.

Steps to reproduce

Have unomi with more then 50 segments, see that you can not find them all.

Proposed resolution

Use the size parameter.

Remaining tasks

Make sure to use a new release from unomi-sdk-php since without this https://gitlab.com/dropsolid/unomi-sdk-php/-/merge_requests/4 the sdk actually does not support setting the size parameter.
When not having that included, nothing changes, so it's not a breaking change to merge this before an updated sdk is released, only does not fix anything.

if possible this would also be good to have in the 4.x version (and have a new release for both 4.x and 5.x)

🐛 Bug report
Status

Active

Version

5.0

Component

Code

Created by

🇧🇪Belgium mallezie Loenhout

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024