mirror of
https://github.com/Karaka-Management/oms-Surveys.git
synced 2026-02-16 07:08:41 +00:00
update
This commit is contained in:
parent
802fef7889
commit
021545a5b8
|
|
@ -69,7 +69,7 @@ final class BackendController extends Controller
|
||||||
$view->setTemplate('/Modules/Surveys/Theme/Backend/surveys-list');
|
$view->setTemplate('/Modules/Surveys/Theme/Backend/surveys-list');
|
||||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1000801001, $request, $response);
|
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1000801001, $request, $response);
|
||||||
|
|
||||||
$path = \str_replace('+', ' ', (string) ($request->getData('path') ?? '/'));
|
$path = \strtr($request->getDataString('path') ?? '/', '+', ' ');
|
||||||
$surveys = SurveyTemplateMapper::getByVirtualPath($path)
|
$surveys = SurveyTemplateMapper::getByVirtualPath($path)
|
||||||
->where('tags/title/language', $response->header->l11n->language)
|
->where('tags/title/language', $response->header->l11n->language)
|
||||||
->where('l11n/language', $response->header->l11n->language)
|
->where('l11n/language', $response->header->l11n->language)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user