1
Changeset 5f22008 – MultiMag

Changeset 5f22008


Ignore:
Timestamp:
Dec 2, 2019, 1:30:59 AM (3 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
fd8c1c5
Parents:
501dc19 (diff), 61a8e52 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
lazersib <blacklight@…> (02/12/19 01:30:59)
git-committer:
GitHub <noreply@…> (02/12/19 01:30:59)
Message:

Merge pull request #7 from magnatiwe/fix_products_with_photo_filter

Фикс бага при котором не возможно после применения фильтра вернуть прежние значения из-за того что пропадает панель с фильтрами

File:
1 edited

Legend:

Unmodified
Added
Removed
  • web/vitrina.php

    r501dc19 r5f22008  
    400400            $lim = 100;
    401401        }
    402 
     402            $this->OrderAndViewBar($group, $page, $order, $view);
    403403        if ($res->num_rows) {
    404404            if ($page < 1 || $lim * ($page - 1) > $res->num_rows) {
     
    406406                exit();
    407407            }
    408             $this->OrderAndViewBar($group, $page, $order, $view);
    409408
    410409            $this->PageBar($group, $res->num_rows, $lim, $page);
     
    429428            header("Location: " . (empty($_SERVER['HTTPS']) ? "http" : "https") . "://" . $_SERVER['HTTP_HOST'] . html_in($this->GetGroupLink($group)), false, 301);
    430429            exit();
     430        } else {
     431                $tmpl->addContent("<h2 style='text-align: center'>Нет подходящих товаров</h2>");
    431432        }
    432433    }
Note: See TracChangeset for help on using the changeset viewer.