View Issue Details

IDProjectCategoryView StatusLast Update
0003677OXID eShop (all versions)1.06. Search, Tagspublic2012-12-07 14:42
Reporterupdown Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.8 revision 42471 
Fixed in Version4.5.9 revision 43186 
Summary0003677: Tag-pagination in "back to article"-url is wrong when variants have same tags
DescriptionThe "back to articles" link can have a false pgNr-attribute due to wrong count of tag-articles including variants
Steps To ReproduceSet some variants of products with the same tags as the parents, with several pages of tags. The resulting page-count for the backlink to the listed parent-articl is wrong in article-view.
Additional InformationPatch:

file: core/oxarticlelist.php
in: public function getTagArticleIds( $sTag, $iLang )

find:
              "{$sArticleTable}.oxid = {$sViewName}.oxid where {$sArticleTable}.oxissearch = 1 and ".

replace with:
              "{$sArticleTable}.oxid = {$sViewName}.oxid where {$sArticleTable}.oxissearch = 1 and {$sArticleTable}.oxparentid = '' and ".

TagsTags
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

updown

2012-03-06 11:52

reporter   ~0005892

Last edited: 2012-03-06 14:56

ofcourse it is the "back to overview"-link ("zürück zur übersicht"), not "back to article"

edit: only reproducible if variants are also set to searchable.