Ignore:
Timestamp:
2008/09/07 00:20:43 (16 years ago)
Author:
Seasoft
Message:

管理機能>商品管理>商品並び替え
・該当件数の抽出条件の誤りを修正
・順位の表示ロジックの変更 (para4様ご指摘の、マイナスとなる場合がある不具合に対応  http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=thread&topic_id=2635&forum=9&post_id=10082#forumpost10082)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php

    r16741 r17596  
    123123 
    124124        // 行数の取得 
    125         $linemax = $objQuery->count($table, "T2.category_id = ?", array($category_id)); 
    126         // 順位、該当件数表示用 
     125        $linemax = $objQuery->count($table, $where, array($category_id)); 
     126        // 何件が該当しました。表示用 
    127127        $this->tpl_linemax = $linemax; 
    128128 
    129129        $objNavi = new SC_PageNavi($this->tpl_pageno, $linemax, SEARCH_PMAX, "fnNaviPage", NAVI_PMAX); 
    130130        $startno = $objNavi->start_row; 
     131        $this->tpl_start_row = $objNavi->start_row; 
    131132        $this->tpl_strnavi = $objNavi->strnavi;     // Navi表示文字列 
    132133        $this->tpl_pagemax = $objNavi->max_page;        // ページ最大数(「上へ下へ」表示判定用) 
Note: See TracChangeset for help on using the changeset viewer.