da hatte ich gerade zu tief in den Espresso geschaut..
im Controller Code ergänzen mit:
$this->set('strModel', $strModel);
$this->set('results', $this-> $strModel->findAll(array (
"and" => $arrConditions
), null, $arrOrder[$strModel]));
Grüße
Kathrin
On 15 Mrz., 21:02, "Dirk Olbertz" <[EMAIL PROTECTED]> wrote:
> Hi Kathrin,
>
> dann wäre es schön, wenn Du noch kurz mitteilst, *wie* Du das Problem
> gelöst hast.
>
> Diese Gruppe hier ist ja auch ein ganzes Stück weit ein
> Recherchemittel.
>
> Viele Grüße,
> Dirk
>
> On 13 Mrz., 18:38, "Schwarz Kathrin" <[EMAIL PROTECTED]>
> wrote:
>
> > Habe es gefunden.... Asche über mein Haupt :-((
>
> > On 13 Mrz., 18:30, "Schwarz Kathrin" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Ich schon wieder,...
> > > Cake macht automatisch bei einer select Abfrage ein OR......
> > > wo wird das eingestellt.... ich finde es einfach nicht.
>
> > > Beispiel:
> > > $arrConditions = array (
> > > "Country.country" => "LIKE %" . $strSearch . "%",
> > > "Country.country" => "LIKE %" . $strSearch .
> > > "%"
> > > "Explorer.id" => "Country.Explorer.explorer_id",
> > > "Country.id" => "Country.Explorer.country_id",
> > > "Country.country" => "LIKE %" . $strSearch . "%"
> > > );
> > > wird mit OR abgefragt...
>
> > > Grüße
> > > Kathrin
--~--~---------~--~----~------------~-------~--~----~
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google Groups-Gruppe
"CakePHP-de für deutsche CakePHP Entwickler".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an [email protected]
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an [EMAIL
PROTECTED]
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/cakephp-de?hl=de
-~----------~----~----~----~------~----~------~--~---