mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-11 15:32:12 +00:00
Added functions to retrieve associated parts of an element within twig labels
This fixes #1239
This commit is contained in:
parent
233c5e8550
commit
aed2652f1d
3 changed files with 60 additions and 13 deletions
|
|
@ -114,6 +114,7 @@ final class SandboxedTwigFactory
|
|||
'barcode_svg',
|
||||
//SandboxedLabelExtension
|
||||
'placeholder',
|
||||
'associated_parts', 'associated_parts_count', 'associated_parts_r', 'associated_parts_count_r',
|
||||
];
|
||||
|
||||
private const ALLOWED_METHODS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue