I’m needing to filter and order my video entries by metadata. By the moment I can filter my video entries, but I can’t order (sort) these. I have created a new date field into the metadata, and I want order my video entries by this.
I was trying do it from Kaltura Test Console. The steps I followed are:
Login to get Kaltura Session.
Select service “media” and then action “list”
Select “KalturaMediaEntryFilder” into Filter field.
From KalturaMediaEntryFilter tab:
—1) Select “KalturaMetadataSearchItem” into AdvanceSearch field.
—2) From KalturaMetadataSearchItem tab:
------1) Set Metadata Profile Id.
------2) Put +/[local-name()=‘metadata’]/[local-name()=‘Test’] into orderBy field. Test is the field witch I want order the video entries.
------3) Add a new item and then select “KalturaSearchCondition” into the new field.
------4) From new KalturaSearchCondition tab:
------------1) Put /[local-name()=‘metadata’]/[local-name()=‘Test’] into Field field for filter these entries that have the Test field on his metadata.
So, when I click the “Send” button it returns me all video entries that have the “Test” metadata field, but these aren’t sorted.