View Issue Details

IDProjectCategoryView StatusLast Update
0004215OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-12-07 13:59
Reporternurickan Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.6.2 revision 46646 
Fixed in Version4.6.6 revision 54646 
Summary0004215: Selection of accessoires doesnt hide the article itself
DescriptionLike in Issue 0004117, you can add the article to its own accessoires - even without selecting an category.
Steps To Reproduce1. Select any article in backend and open accessoire editor
2. Search for article-id of current article
3. Add choosen article to its own crosssellers
TagsAJAX
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0004117 resolvedaurimas.gladutis Selection of Cross-Sellers after choosing a category doesnt hide the article itself 

Activities

nurickan

2012-07-03 10:19

reporter   ~0007042

Sorry, forgot to edit the title, it should be "Selection of accessoires doesnt hide the article itself"

nurickan

2012-07-24 16:05

reporter   ~0007126

Heres the fix, add the following columns to the end of _getQuery() in article_accessoires.inc.php to skip self from list:

// skipping self from list
$sId = ( $sSelId ) ? $sSelId : $sSynchSelId ;
$sQAdd .= " and $sArticleTable.oxid != " . $oDb->quote( $sId ) . " ";