Closed arsanysamuel closed 6 months ago
This feature can't work with virtual doctypes. It would essentially require fetching entire doc just to fetch title.
I understand that it has to fetch the whole document, is there any method or a workaround even if it requires fetching the whole document?
You can write formatters and format them on the fly.
Description of the issue
Showing title in link fields for virtual doctypes produces a SQL query error:
This error is produced since there's no table for the virtual doctype in the database.
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
Observed result
Query error as shown below
Expected result
Linked fields for virtual doctypes showing title using the virtual doctype implementation instead of SQL query
Stacktrace / full error message
Additional information
Ubuntu 22.04.