#4165 (thumbnail in the select media dropdown "FileUsages")
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Kurzbeschreibung
Kinder
Kommentare
- 5 Jahre, 5 Monate ago von Sharif Mehedi about #4165 (thumbnail in the select media dropdown "FileUsages") : added some text processing to resolve the issue mentioned in the previous comment (#6200).
- 5 Jahre, 5 Monate ago von Sharif Mehedi about #4165 (thumbnail in the select media dropdown "FileUsages") : The line of code the puts the value of a dropdown text into a dict: gitlab.com/lino-framework/lino/-/blob/master/lino/core/fields.py#L1500 I created a method FileUsages.get_choices_text() as an experiment, which returned str(obj) + obj.thumbnail, where obj is the model. The dropdown works fine but th...