Re: ページリストブロックをオプションリスト属性でフィルターをかけたい
2018年5月14日 at 13:34
ちゃんとコアのコード確認しました(汗
\Concrete\Attribute\Select\Controller::filterByAttribute
確かに、OR検索および複数の値には対応してませんでした。
上記メソッドのコードを拝借しつつ、orWhere() に変更して独自実装するしかないですね。
Doctrine クエリビルダのドキュメント
http://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/query-builder.html
PageList クラスから Doctrine クエリビルダを取得する方法
http://concrete5-japan.org/help/5-7/developer/working-with-pages/searching-and-sorting-with-the-pagelist-object/
Your post has been saved and will be published after approval by the forum moderator.
anken
Re: ページリストブロックをオプションリスト属性でフィルターをかけたい
そうですかあ、高度なカスタマイズが必要なのですね。
勉強してみます。
ありがとうございました。m(__)m