View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004215 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2012-07-03 10:17 | 2012-12-07 13:59 |
| Reporter | nurickan | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.6.2 revision 46646 | ||||
| Fixed in Version | 4.6.6 revision 54646 | ||||
| Summary | 0004215: Selection of accessoires doesnt hide the article itself | ||||
| Description | Like in Issue 0004117, you can add the article to its own accessoires - even without selecting an category. | ||||
| Steps To Reproduce | 1. 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 | ||||
| Tags | AJAX | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
| related to | 0004117 | resolved | aurimas.gladutis | Selection of Cross-Sellers after choosing a category doesnt hide the article itself |
|
|
Sorry, forgot to edit the title, it should be "Selection of accessoires doesnt hide the article itself" |
|
|
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 ) . " "; |