[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [BP][FIX] Kaltura: fix entry ID filter and remove dynamic property statusString
"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]> Mon, 13 Jul 2026 15:10:23 +0000
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a54ffdfcf69a_3819c08066253@gitlab-sidekiq-low-urgency-cpu-bound-v2-f65697c8c-xh99l.mail> |
ushindi bienvenu pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki
Commits:
9c4cc36e by Landry Bitege at 2026-07-13T14:50:58+00:00
[BP][FIX] Kaltura: fix entry ID filter and remove dynamic property statusString
---
* [FIX] Kaltura: fix entry ID filter and remove dynamic property statusString
---
* [FIX] Kaltura: fix entry ID filter and remove dynamic property statusString
See merge request tikiwiki/tiki!10502
(cherry picked from commit 8cc2668e41027d00a31df31d0c4edee0e10b8c4c)
See merge request tikiwiki/tiki!10634
- - - - -
3 changed files:
- templates/tiki-list_kaltura_entries_add_info.tpl
- tiki-kaltura_video.php
- tiki-list_kaltura_entries.php
Changes:
=====================================
templates/tiki-list_kaltura_entries_add_info.tpl
=====================================
@@ -8,7 +8,7 @@
{/if}
<tr>
<th class="text-end">{tr}Status{/tr}</th>
- <td>{$item->statusString}</td>
+ <td>{$statusAsString[$item->status]}</td>
</tr>
<tr>
<th class="text-end">{tr}Media Id{/tr}</th>
=====================================
tiki-kaltura_video.php
=====================================
@@ -11,8 +11,8 @@
$inputConfiguration = [
[
'staticKeyFilters' => [
- 'mixId' => 'int', //post
- 'mediaId' => 'int', //post
+ 'mixId' => 'word', //post
+ 'mediaId' => 'word', //post
'action' => 'word', //post
'name' => 'word', //post
'description' => 'xss', //post
=====================================
tiki-list_kaltura_entries.php
=====================================
@@ -13,8 +13,8 @@ $inputConfiguration = [
'staticKeyFilters' => [
'list' => 'string', //get
'action' => 'string', //get
- 'mixId' => 'int', //get
- 'mediaId' => 'int', //get
+ 'mixId' => 'word', //get
+ 'mediaId' => 'word', //get
'view' => 'string', //get
],
],
@@ -156,12 +156,12 @@ try {
for ($i = 0; $i < $kmedialist->totalCount; $i++) {
if (! empty($kmedialist->objects[$i]) && $kmedialist->objects[$i] !== null) {
$kmedialist->objects[$i]->mediaType = $mediaTypeAsString[$kmedialist->objects[$i]->mediaType];
- $kmedialist->objects[$i]->statusString = $statusAsString[$kmedialist->objects[$i]->status];
}
}
}
$smarty->assign('klist', $kmedialist->objects);
$smarty->assign('count', $kmedialist->totalCount);
+ $smarty->assign('statusAsString', $statusAsString);
}
$smarty->assign('entryType', 'media');
$smarty->assign('view', $jitRequest->view->alpha());
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9c4cc36e8e91b9ea1a1fddd551c6849838355180
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9c4cc36e8e91b9ea1a1fddd551c6849838355180
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs