From 68233e6344484b73e6baf077fd6fb401dc676e0f Mon Sep 17 00:00:00 2001 From: Mitsuru Mutaguchi Date: Sat, 29 Dec 2018 11:54:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E7=9D=80=E3=81=A7=E8=A1=A8?= =?UTF-8?q?=E7=A4=BA=E4=BB=B6=E6=95=B0=E3=82=92=E5=A4=89=E6=9B=B4=E3=80=81?= =?UTF-8?q?=E6=97=A5=E6=95=B0=E8=A1=A8=E7=A4=BA=E3=81=AB=E3=81=AA=E3=82=8B?= =?UTF-8?q?=E4=B8=8D=E5=85=B7=E5=90=88=E5=AF=BE=E5=BF=9C=20=E3=80=80dropDo?= =?UTF-8?q?wnToggle()=E3=81=A7Current::read('Block.id')=E3=81=AA=E3=81=97?= =?UTF-8?q?=E3=81=A7=E3=82=82frame=5Fid=E4=BB=98=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- View/Helper/DisplayNumberHelper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/View/Helper/DisplayNumberHelper.php b/View/Helper/DisplayNumberHelper.php index 7e48ad51..6771d268 100644 --- a/View/Helper/DisplayNumberHelper.php +++ b/View/Helper/DisplayNumberHelper.php @@ -180,6 +180,10 @@ public function dropDownToggle($attributes = array()) { if (Current::read('Block.id')) { $attributes['url'] = NetCommonsUrl::blockUrl($named); } else { + // 新着はこちらに入る。frame_id付加対応 + if (! isset($named['frame_id']) && Current::read('Frame.id')) { + $named['frame_id'] = Current::read('Frame.id'); + } $attributes['url'] = NetCommonsUrl::actionUrlAsArray($named); } }