Bug #19313
closed_ADD_GETVARS not used by JSMENU
0%
Description
I discovered the issue when trying to use JSMENU with
special.userFunc = user_tx_commerce_catmenu_pub->init
The links worked using TMENU, but not JSMENU.
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/11/#id4080403 describes the key _ADD_GETVARS.
This key is however ignored by tslib_jsmenu->generate_level().
Line 2863 is currently:
$LD = $this->menuTypoLink($data,$this->mconf['target'],'','',array(),$MP_params,$this->mconf['forceTypeValue']);
I suggest the 6th parameter is changed from
$MP_params
to
$this->mconf['addParams'].$MP_params.$data['_ADD_GETVARS']
This way not only the _ADD_GETVARS-key will be used, but also the common property addParams (see http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/1/)
(issue imported from #M9324)