41 $sViewName = getViewName(
"oxarticles", (
int) $this->
getConfig()->getConfigParam(
"sDefaultLang"));
42 $sSql =
"select oxpricealarm.*, {$sViewName}.oxtitle AS articletitle, ";
43 $sSql .=
"oxuser.oxlname as userlname, oxuser.oxfname as userfname ";
44 $sSql .=
"from oxpricealarm left join {$sViewName} on {$sViewName}.oxid = oxpricealarm.oxartid ";
45 $sSql .=
"left join oxuser on oxuser.oxid = oxpricealarm.oxuserid WHERE 1 ";
58 $sViewName = getViewName(
"oxpricealarm");
59 $sArtViewName = getViewName(
"oxarticles");
62 if (isset($this->_aWhere[$sViewName .
'.oxprice'])) {
63 $sPriceParam = (double) str_replace(array(
'%',
','), array(
'',
'.'), $this->_aWhere[$sViewName .
'.oxprice']);
64 $this->_aWhere[$sViewName .
'.oxprice'] =
'%' . $sPriceParam .
'%';
67 if (isset($this->_aWhere[$sArtViewName .
'.oxprice'])) {
68 $sPriceParam = (double) str_replace(array(
'%',
','), array(
'',
'.'), $this->_aWhere[$sArtViewName .
'.oxprice']);
69 $this->_aWhere[$sArtViewName .
'.oxprice'] =
'%' . $sPriceParam .
'%';