Skip to content

[Fix] Container 0046958: Rating redraw for objects in item group blocks#11252

Open
fhelfer wants to merge 1 commit intoILIAS-eLearning:release_11from
fhelfer:rating/mantis/46958
Open

[Fix] Container 0046958: Rating redraw for objects in item group blocks#11252
fhelfer wants to merge 1 commit intoILIAS-eLearning:release_11from
fhelfer:rating/mantis/46958

Conversation

@fhelfer
Copy link
Contributor

@fhelfer fhelfer commented Mar 11, 2026

Presentation: List/tile is now taken from the block/container context instead of always using list.
Multiple blocks: Objects in several item group blocks get unique IDs via block_parent, so each block updates correctly after rating.
Tile view: RepositoryObject is rendered with renderAsync() before output to avoid the "Object could not be converted to string" error.

- Use block context for list/tile presentation instead of hardcoding list
- Use block_id for unique IDs when objects appear in multiple blocks
- Render RepositoryObject via renderAsync when in tile view
@fhelfer fhelfer added bugfix php Pull requests that update Php code labels Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants