- Issue created by @mibfire
- last update
about 1 year ago 30,341 pass - last update
about 1 year ago 30,058 pass - ๐ฎ๐ณIndia junaidpv Kannur, Kerala
#2 helped me to solve a problem with a CSV export view using a batch process. Certain paragraph reference field was chosen to render using an overridden twig template. But the output was having column not rendered with that template. Figured out it was because the batch process was using the admin theme instead of the theme that was used to render the original view page.
The patch makes sense.
- ๐ฎ๐ณIndia samit.310@gmail.com
samit.310@gmail.com โ made their first commit to this issueโs fork.
- Status changed to Needs review
4 months ago 12:34pm 19 July 2024 - Status changed to Needs work
4 months ago 3:23pm 19 July 2024 - ๐ฎ๐ณIndia prashant.c Dharamshala
@mibfire
In my situation, I have the "Gin" theme enabled. When I try to run the batch process, it executes within the Gin theme, which is my active theme, rather than switching to any other theme.
It seems that the batch process is always executed in the default or active theme, not in the admin theme. Am I misunderstanding the issue you're trying to describe?
- ๐ฎ๐ณIndia junaidpv Kannur, Kerala
@Prashant.c Batch process UI is using the active theme but the batch process ajax calls are processed with admin theme.
- ๐ฎ๐ณIndia prashant.c Dharamshala
@junaidpv
Do you mean executing a batch process in a custom/contrib form using
#ajax
with an AJAX submit handler?