Changeset 21945


Ignore:
Timestamp:
2012/06/28 15:45:35 (9 years ago)
Author:
pineray
Message:

#1726 モバイルサイト 商品名検索のページングで検索条件が引き継がれない

URLエンコーディングの前に文字コードを変換.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php

    r21935 r21945  
    126126        // モバイルの場合に検索条件をURLの引数に追加 
    127127        if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_MOBILE) { 
    128             $urlParam .= "&mode={$this->mode}&name=" . urlencode($this->arrSearchData['name']) . "&orderby={$this->orderby}"; 
     128            $searchNameUrl = urlencode(mb_convert_encoding($this->arrSearchData['name'], 'SJIS', 'UTF-8')); 
     129            $urlParam .= "&mode={$this->mode}&name={$searchNameUrl}&orderby={$this->orderby}"; 
    129130        } 
    130131        $this->objNavi      = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'fnNaviPage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE); 
Note: See TracChangeset for help on using the changeset viewer.