Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmasciotta/a56d568c35ea38cbbb259100b830e34e to your computer and use it in GitHub Desktop.
Save vmasciotta/a56d568c35ea38cbbb259100b830e34e to your computer and use it in GitHub Desktop.
Zeon Manufacturer admin search grid patch
From 6aba001aedc29f3c2b69f81dd46cd2bb38be97ca Mon Sep 17 00:00:00 2001
From: valerio masciotta <sviluppo@valeriomasciotta.it>
Date: Fri, 6 May 2016 15:32:53 +0000
Subject: [PATCH] fix bug admin manufacturer search
---
.../Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php b/app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php
index f9cff21..28f0a82 100644
--- a/app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php
+++ b/app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php
@@ -164,7 +164,7 @@ class Zeon_Manufacturer_Model_Mysql4_Manufacturer_Collection extends Mage_Core_M
{
if (!$this->getFlag('manufacturer_name_filter')) {
$this->getSelect()->join(
- array('manufacturer_name_table' => $this->getTable('eav_attribute_option_value')),
+ array('manufacturer_name_table' => $this->getTable('eav/attribute_option_value')),
'main_table.manufacturer = manufacturer_name_table.option_id',
array()
)
--
1.8.4.5
@vmasciotta
Copy link
Author

vmasciotta commented May 6, 2016

Place this patch in your Magento root directory and apply it with: patch -p1 < 0001-fix-bug-admin-manufacturer-search.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment