diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2019-01-30 05:51:18 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2019-01-30 05:51:18 +0000 |
| commit | d01e6173076cfff7f6cac757406034b4019cb2b9 (patch) | |
| tree | bcbe172579ad357940ab3e0df3bae9f128625bb6 /views | |
| parent | 8c9f9f82b5cdc8a10ca9198b6639b683d09939e2 (diff) | |
- Ticket Term_id / term_taxonomy_id unterschiedlich
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7273 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -rw-r--r-- | views/produkt/index.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/produkt/index.phtml b/views/produkt/index.phtml index 1f97071..5376495 100644 --- a/views/produkt/index.phtml +++ b/views/produkt/index.phtml @@ -64,7 +64,7 @@ <?php
$temp = $this->callMod('wpsg_mod_produktartikel', 'getProductcategorySelect', array($this->view['arFilter']));
$arr = array();
- foreach ($temp as $vv) $arr[$vv['term_id']] = $vv['label'];
+ foreach ($temp as $vv) $arr[$vv['term_taxonomy_id']] = $vv['label'];
echo wpsg_drawForm_Select('filter[productcategory_ids]', __('Produktkategorie', 'wpsg'),
wpsg_array_merge(array('-1' => wpsg_translate(__('Alle Produktkategorien (#1#)', 'wpsg'), wpsg_product::count($filterAll))),
$arr), @$this->view['arFilter']['productcategory_ids']); ?>
@@ -122,7 +122,7 @@ <ul class="pagination">
<li class="<?php echo ((wpsg_getStr($this->view['arFilter']['productcategory_ids']) == '-1' || !isset($this->view['arFilter']['productcategory_ids']))?'active':''); ?>"><a href="#" onclick="jQuery('#filterproductcategory_ids').val('-1'); jQuery('#filter_form').submit(); return false;"><?php echo wpsg_translate(__('Alle (#1#)', 'wpsg'), wpsg_product::count($filterAll)); ?></a></li>
<?php foreach ($arProductcategorySelect as $pk_id => $pk) { ?>
- <li class="<?php echo ((wpsg_getInt($this->view['arFilter']['productcategory_ids'], -2) == $pk['term_id'])?'active':''); ?>"><a href="#" onclick="jQuery('#filterproductcategory_ids').val('<?php echo $pk['term_id']; ?>'); jQuery('#wpsg_seite').val('1'); jQuery('#filter_form').submit(); return false;"><?php echo $pk['label']; ?></a></li>
+ <li class="<?php echo ((wpsg_getInt($this->view['arFilter']['productcategory_ids'], -2) == $pk['term_taxonomy_id'])?'active':''); ?>"><a href="#" onclick="jQuery('#filterproductcategory_ids').val('<?php echo $pk['term_taxonomy_id']; ?>'); jQuery('#wpsg_seite').val('1'); jQuery('#filter_form').submit(); return false;"><?php echo $pk['label']; ?></a></li>
<?php } ?>
</ul>
|
