CHANGED TO BUG REPORT AS IT APPEARS IT’S A BUG WITH .where in PHP
I’m making a call to Google Photos to get a list of Albums. The Google Photos API has no way to filter this call so I need to filter the results in the server connect. In my case I want to filter it by the title starting with TT. I tried using api.data.albums.where(‘title’, ‘startsWith’, ‘TT’) as the Expression in a repeat but that throws an error: “message”: “Undefined index: title”. Same error happens if I try to Set Value as an array.
I can do the repeat on the full api data set and use a condition to set a value if the title starts with TT but then I end up with a dataset with lots of empty records. I can get around this by filtering on the client side but I’m wondering if there’s a way to do this server side. Also curious if there is a reason for the repeat to return empty records at all.
Thx.