FactFinder - Version 3.0.2

Version Notes

- initial Release

Download this release

Release Info

Developer Magento Core Team
Extension FactFinder
Version 3.0.2
Comparing to
See all releases


Code changes from version 3.0.1 to 3.0.2

app/code/community/Flagbit/FactFinder/Helper/Debug.php CHANGED
@@ -17,10 +17,10 @@
17
  * @package Flagbit_FactFinder
18
  * @copyright Copyright (c) 2010 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
19
  * @author Joerg Weller <weller@flagbit.de>
20
- * @version $Id: Debug.php 629 2011-02-18 14:55:16Z weller $
21
  */
22
- class Flagbit_FactFinder_Helper_Debug extends Mage_Core_Helper_Abstract {
23
-
24
  const MODULE_CONFIG_FILE = 'config.xml';
25
  const LOG_FILE_NAME = 'factfinder.log';
26
 
17
  * @package Flagbit_FactFinder
18
  * @copyright Copyright (c) 2010 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
19
  * @author Joerg Weller <weller@flagbit.de>
20
+ * @version $Id: Debug.php 640 2011-03-10 08:53:41Z weller $
21
  */
22
+ class Flagbit_FactFinder_Helper_Debug extends Mage_Core_Helper_Abstract
23
+ {
24
  const MODULE_CONFIG_FILE = 'config.xml';
25
  const LOG_FILE_NAME = 'factfinder.log';
26
 
app/code/community/Flagbit/FactFinder/Model/Layer.php CHANGED
@@ -20,8 +20,6 @@ class Flagbit_FactFinder_Model_Layer extends Mage_CatalogSearch_Model_Layer
20
  if(is_null($this->_searchCollection)){
21
  $this->_searchCollection = Mage::getResourceModel('factfinder/search_collection');
22
  $this->prepareProductCollection($this->_searchCollection);
23
-
24
- Mage::helper('factfinder/debug')->log('Search SQL Query: '.$this->_searchCollection->getSelect()->__toString());
25
  }
26
  return $this->_searchCollection;
27
  }
20
  if(is_null($this->_searchCollection)){
21
  $this->_searchCollection = Mage::getResourceModel('factfinder/search_collection');
22
  $this->prepareProductCollection($this->_searchCollection);
 
 
23
  }
24
  return $this->_searchCollection;
25
  }
app/code/community/Flagbit/FactFinder/Model/Mysql4/Search/Collection.php CHANGED
@@ -16,7 +16,7 @@
16
  * @package Flagbit_FactFinder
17
  * @copyright Copyright (c) 2010 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
18
  * @author Joerg Weller <weller@flagbit.de>
19
- * @version $Id: Collection.php 627 2011-02-18 11:48:09Z rudolf_batt $
20
  */
21
  class Flagbit_FactFinder_Model_Mysql4_Search_Collection
22
  extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
@@ -63,8 +63,12 @@ class Flagbit_FactFinder_Model_Mysql4_Search_Collection
63
 
64
  $this->_pageSize = null;
65
  $entity = $this->getEntity();
 
 
 
66
 
67
  $this->printLogQuery($printQuery, $logQuery);
 
68
 
69
  try {
70
  $rows = $this->_fetchAll($this->getSelect());
16
  * @package Flagbit_FactFinder
17
  * @copyright Copyright (c) 2010 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
18
  * @author Joerg Weller <weller@flagbit.de>
19
+ * @version $Id: Collection.php 640 2011-03-10 08:53:41Z weller $
20
  */
21
  class Flagbit_FactFinder_Model_Mysql4_Search_Collection
22
  extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
63
 
64
  $this->_pageSize = null;
65
  $entity = $this->getEntity();
66
+
67
+ $this->getSelect()->reset(Zend_Db_Select::LIMIT_COUNT);
68
+ $this->getSelect()->reset(Zend_Db_Select::LIMIT_OFFSET);
69
 
70
  $this->printLogQuery($printQuery, $logQuery);
71
+ Mage::helper('factfinder/debug')->log('Search SQL Query: '.$this->getSelect()->__toString());
72
 
73
  try {
74
  $rows = $this->_fetchAll($this->getSelect());
app/code/community/Flagbit/FactFinder/etc/config.xml CHANGED
@@ -15,14 +15,14 @@
15
  * @package Flagbit_FactFinder
16
  * @copyright Copyright (c) 2010 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
17
  * @author Joerg Weller <weller@flagbit.de>
18
- * @version $Id: config.xml 635 2011-02-23 17:16:14Z weller $
19
  */
20
  -->
21
  <config>
22
  <modules>
23
  <Flagbit_FactFinder>
24
  <active>true</active>
25
- <version>3.0.1</version>
26
  </Flagbit_FactFinder>
27
  </modules>
28
  <global>
15
  * @package Flagbit_FactFinder
16
  * @copyright Copyright (c) 2010 Flagbit GmbH & Co. KG (http://www.flagbit.de/)
17
  * @author Joerg Weller <weller@flagbit.de>
18
+ * @version $Id: config.xml 640 2011-03-10 08:53:41Z weller $
19
  */
20
  -->
21
  <config>
22
  <modules>
23
  <Flagbit_FactFinder>
24
  <active>true</active>
25
+ <version>3.0.2</version>
26
  </Flagbit_FactFinder>
27
  </modules>
28
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>FactFinder</name>
4
- <version>3.0.1</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Integrates the FACT-Finder for improved product search functionality.</description>
11
  <notes>- initial Release</notes>
12
  <authors><author><name>Flagbit GmbH Co. KG</name><user>auto-converted</user><email>magento@flagbit.de</email></author></authors>
13
- <date>2011-02-23</date>
14
- <time>18:17:25</time>
15
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="factfinder.xml" hash="0389b14e8f5f3a491e1d21ff06fda964"/></dir><dir name="template"><dir name="factfinder"><file name="cockpit.phtml" hash="ca1a67e095028779d8796c4a4aa71a23"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="factfinder.xml" hash="6b089b7feee9c3cdfbaeb9150aceb2c7"/></dir><dir name="template"><dir name="factfinder"><dir name="filter"><file name="slider.phtml" hash="a801167a6959d153df4fdc8077c88f4e"/></dir><file name="form.mini.phtml" hash="1e95de3325d50950418bbdfba8ebd5c2"/><file name="logo.phtml" hash="4b4636c1ecb90ecf9fae3e6e50c9c58b"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="FACTFinder"><dir name="Abstract"><file name="Adapter.php" hash="286ff623f62935502322c4083a6d89dc"/><file name="Configuration.php" hash="7afba70db9c6b461f88532d3ec412868"/><file name="DataProvider.php" hash="d12a42c741c7884183cb623f2bdcd355"/><file name="ScicAdapter.php" hash="8b3fde7b1c5205f594776736a165bfa6"/><file name="SearchAdapter.php" hash="ba8c26d9069c8089b269530194e64cc9"/><file name="SuggestAdapter.php" hash="206f081b4a693d1e668e94c6818c8983"/><file name="TagCloudAdapter.php" hash="69dc7236204a0fb5ccd64e750187f79f"/></dir><dir name="Http"><file name="DataProvider.php" hash="a42eb307edcc7990ab5708d5de45e7bd"/><file name="ScicAdapter.php" hash="f2ba0871501f8e59ebe91b861ca846a3"/><file name="SuggestAdapter.php" hash="325501cc046b3600821b7840e24c10a0"/></dir><dir name="Xml64"><file name="SearchAdapter.php" hash="c7489159264fa21e31d85958adfc0434"/></dir><dir name="Xml65"><file name="SearchAdapter.php" hash="9777f877e3ec15b0a5bae8244137612b"/><file name="SuggestAdapter.php" hash="33157e6d02670bd4a9eed39173cb07b6"/><file name="TagCloudAdapter.php" hash="46228b5d71296d55796cc36543be67c3"/></dir><file name="Asn.php" hash="b6a35035be782613a90ad40a1ead479f"/><file name="AsnFilterItem.php" hash="5e1a5463d589e9ed960822edbd854988"/><file name="AsnGroup.php" hash="e417480049155015456f2b28c8e9d4f7"/><file name="AsnSliderFilter.php" hash="fe1a3999cd157535c79d4e608b472ba0"/><file name="BreadCrumbItem.php" hash="3a075c0368404f4088a8772b394fbbec"/><file name="Campaign.php" hash="3d1ee0982e9c9c3a551172d00a7d3d59"/><file name="CampaignIterator.php" hash="b0df7068d7cd549c535e5413a27464d2"/><file name="Configuration.php" hash="4452d98eb88c5e4a17d71fe4c2cedc26"/><file name="EncodingHandler.php" hash="caaf26e8f992e3e823bdfe90c860a2e6"/><file name="Item.php" hash="bc53765464668d2daeaf3076f801c29e"/><file name="Loader.php" hash="43c4a9efd8eeb7daf4ea20a815dbb038"/><file name="Paging.php" hash="b78fc03ef06c9df5c5ae8bd78ab0031f"/><file name="Parameters.php" hash="2c060954f6df87138683bbed443ccb69"/><file name="ParametersParser.php" hash="07cf433669fdc52c10a69619eafa8006"/><file name="ProductsPerPageOptions.php" hash="a77723f2ba131534cd8e2bdbcb229be5"/><file name="Record.php" hash="91e2ce5c3b1568e0d0270324699d1ebf"/><file name="Result.php" hash="c5fc336dc39e648e94b920b7e3cc487b"/><file name="SuggestQuery.php" hash="74a5eed59cbc1a829aa1efb587dc8d97"/><file name="TagQuery.php" hash="50b805995dda0bd39e04406e11f3ad7e"/><file name="Util.php" hash="f82a2ab55149fb30ad9dcf5ef821fcc6"/></dir><dir name="FACTFinderCustom"><file name="Configuration.php" hash="7fce914861ffe509c3ee2a3d63fc7a04"/></dir></target><target name="magecommunity"><dir name="Flagbit"><dir name="FactFinder"><dir name="Block"><dir name="Adminhtml"><file name="Cockpit.php" hash="ff50199c3680c00e33fc7d3d5de6b935"/></dir><dir name="Filter"><file name="Slider.php" hash="6110983b301878e0a19073b17ce28e96"/></dir><dir name="Layer"><file name="Abstract.php" hash="70c119e32bae73f5a74598329eec416f"/></dir><dir name="XmlConnect"><dir name="Catalog"><dir name="Product"><file name="List.php" hash="3af5dac4ecad3761511aa4807c4a79d8"/></dir><dir name="Search"><file name="Suggest.php" hash="77e20bb08a96dd9e29a39879f307c934"/></dir><file name="Search.php" hash="dc5ad07de699fb831941cfe417e5c55b"/></dir></dir><file name="Layer.php" hash="cd8fc3610903cfa00fb920607477ca6d"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Factfinder"><file name="CockpitController.php" hash="7369f2fff764a51328e1c712d122d68d"/></dir></dir><file name="ExportController.php" hash="bab2e63423f63e613c99951db07fa336"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3d262871a3a3afe71d7218a0ba43fb50"/><file name="config.xml" hash="7437f1fc00201afb871008bcb71b66dc"/><file name="system.xml" hash="20d83db26fa0ecda0032b97e2e1c2102"/></dir><dir name="Helper"><file name="Data.php" hash="b7e50e42c6cf2dccb7fff9ad74c7e050"/><file name="Debug.php" hash="073fe89bb85081bff6ea3680204c934a"/><file name="Search.php" hash="940a351e6ab3f327fe92f6b73dc8cc7d"/></dir><dir name="Model"><dir name="Export"><file name="Price.php" hash="7bed26b43b252b65c1188f0004f50053"/><file name="Product.php" hash="6ad0b09cf89345ede2e50fdce5905c3e"/><file name="Stock.php" hash="a07efecd3300c1367125f7e303b159df"/></dir><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="21454aefd537553c2656c23111d95cba"/><file name="Item.php" hash="1a230f9e48f2af6e3d96e75087858adf"/></dir></dir><dir name="Mysql4"><dir name="Product"><dir name="Attribute"><file name="Collection.php" hash="0ebfad0e9bfd04a25886adfca36b9917"/></dir></dir><dir name="Search"><file name="Collection.php" hash="08a6ba4ca7c74e74eb5c40eaede2e292"/><file name="Engine.php" hash="0d16d096efb818ca9ec1d6047d293d20"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Enabled.php" hash="da2bd6274937f1d8ea9d0cf4d0eb0203"/></dir><dir name="Source"><file name="Authtype.php" hash="e9d719da382007b41911e7ba1d8bf939"/><file name="Identifier.php" hash="cf792cfe8c84b67b94666900f6a268d0"/></dir></dir></dir><file name="Adapter.php" hash="b16384488a7afc39eb4a4f5ee1132d95"/><file name="Layer.php" hash="43491d6e99f7c59d294f55126a0833c1"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="factfinder"><file name="jXHR.js" hash="3a0b8c93554d7eab73533e289b3db134"/><file name="suggest.js" hash="6b46f334104cd36abffac13be91db6c8"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Flagbit_FactFinder.xml" hash="99c6b4e5981ac7592830a9fb3f5e5a0e"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>FactFinder</name>
4
+ <version>3.0.2</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
10
  <description>Integrates the FACT-Finder for improved product search functionality.</description>
11
  <notes>- initial Release</notes>
12
  <authors><author><name>Flagbit GmbH Co. KG</name><user>auto-converted</user><email>magento@flagbit.de</email></author></authors>
13
+ <date>2011-03-14</date>
14
+ <time>12:30:02</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="factfinder.xml" hash="0389b14e8f5f3a491e1d21ff06fda964"/></dir><dir name="template"><dir name="factfinder"><file name="cockpit.phtml" hash="ca1a67e095028779d8796c4a4aa71a23"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="factfinder.xml" hash="6b089b7feee9c3cdfbaeb9150aceb2c7"/></dir><dir name="template"><dir name="factfinder"><dir name="filter"><file name="slider.phtml" hash="a801167a6959d153df4fdc8077c88f4e"/></dir><file name="form.mini.phtml" hash="1e95de3325d50950418bbdfba8ebd5c2"/><file name="logo.phtml" hash="4b4636c1ecb90ecf9fae3e6e50c9c58b"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="FACTFinder"><dir name="Abstract"><file name="Adapter.php" hash="286ff623f62935502322c4083a6d89dc"/><file name="Configuration.php" hash="7afba70db9c6b461f88532d3ec412868"/><file name="DataProvider.php" hash="d12a42c741c7884183cb623f2bdcd355"/><file name="ScicAdapter.php" hash="8b3fde7b1c5205f594776736a165bfa6"/><file name="SearchAdapter.php" hash="ba8c26d9069c8089b269530194e64cc9"/><file name="SuggestAdapter.php" hash="206f081b4a693d1e668e94c6818c8983"/><file name="TagCloudAdapter.php" hash="69dc7236204a0fb5ccd64e750187f79f"/></dir><dir name="Http"><file name="DataProvider.php" hash="a42eb307edcc7990ab5708d5de45e7bd"/><file name="ScicAdapter.php" hash="f2ba0871501f8e59ebe91b861ca846a3"/><file name="SuggestAdapter.php" hash="325501cc046b3600821b7840e24c10a0"/></dir><dir name="Xml64"><file name="SearchAdapter.php" hash="c7489159264fa21e31d85958adfc0434"/></dir><dir name="Xml65"><file name="SearchAdapter.php" hash="9777f877e3ec15b0a5bae8244137612b"/><file name="SuggestAdapter.php" hash="33157e6d02670bd4a9eed39173cb07b6"/><file name="TagCloudAdapter.php" hash="46228b5d71296d55796cc36543be67c3"/></dir><file name="Asn.php" hash="b6a35035be782613a90ad40a1ead479f"/><file name="AsnFilterItem.php" hash="5e1a5463d589e9ed960822edbd854988"/><file name="AsnGroup.php" hash="e417480049155015456f2b28c8e9d4f7"/><file name="AsnSliderFilter.php" hash="fe1a3999cd157535c79d4e608b472ba0"/><file name="BreadCrumbItem.php" hash="3a075c0368404f4088a8772b394fbbec"/><file name="Campaign.php" hash="3d1ee0982e9c9c3a551172d00a7d3d59"/><file name="CampaignIterator.php" hash="b0df7068d7cd549c535e5413a27464d2"/><file name="Configuration.php" hash="4452d98eb88c5e4a17d71fe4c2cedc26"/><file name="EncodingHandler.php" hash="caaf26e8f992e3e823bdfe90c860a2e6"/><file name="Item.php" hash="bc53765464668d2daeaf3076f801c29e"/><file name="Loader.php" hash="43c4a9efd8eeb7daf4ea20a815dbb038"/><file name="Paging.php" hash="b78fc03ef06c9df5c5ae8bd78ab0031f"/><file name="Parameters.php" hash="2c060954f6df87138683bbed443ccb69"/><file name="ParametersParser.php" hash="07cf433669fdc52c10a69619eafa8006"/><file name="ProductsPerPageOptions.php" hash="a77723f2ba131534cd8e2bdbcb229be5"/><file name="Record.php" hash="91e2ce5c3b1568e0d0270324699d1ebf"/><file name="Result.php" hash="c5fc336dc39e648e94b920b7e3cc487b"/><file name="SuggestQuery.php" hash="74a5eed59cbc1a829aa1efb587dc8d97"/><file name="TagQuery.php" hash="50b805995dda0bd39e04406e11f3ad7e"/><file name="Util.php" hash="f82a2ab55149fb30ad9dcf5ef821fcc6"/></dir><dir name="FACTFinderCustom"><file name="Configuration.php" hash="7fce914861ffe509c3ee2a3d63fc7a04"/></dir></target><target name="magecommunity"><dir name="Flagbit"><dir name="FactFinder"><dir name="Block"><dir name="Adminhtml"><file name="Cockpit.php" hash="ff50199c3680c00e33fc7d3d5de6b935"/></dir><dir name="Filter"><file name="Slider.php" hash="6110983b301878e0a19073b17ce28e96"/></dir><dir name="Layer"><file name="Abstract.php" hash="70c119e32bae73f5a74598329eec416f"/></dir><dir name="XmlConnect"><dir name="Catalog"><dir name="Product"><file name="List.php" hash="3af5dac4ecad3761511aa4807c4a79d8"/></dir><dir name="Search"><file name="Suggest.php" hash="77e20bb08a96dd9e29a39879f307c934"/></dir><file name="Search.php" hash="dc5ad07de699fb831941cfe417e5c55b"/></dir></dir><file name="Layer.php" hash="cd8fc3610903cfa00fb920607477ca6d"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Factfinder"><file name="CockpitController.php" hash="7369f2fff764a51328e1c712d122d68d"/></dir></dir><file name="ExportController.php" hash="bab2e63423f63e613c99951db07fa336"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3d262871a3a3afe71d7218a0ba43fb50"/><file name="config.xml" hash="2dbd385778c38ba949247a29e77b3ce0"/><file name="system.xml" hash="20d83db26fa0ecda0032b97e2e1c2102"/></dir><dir name="Helper"><file name="Data.php" hash="b7e50e42c6cf2dccb7fff9ad74c7e050"/><file name="Debug.php" hash="e396b02fb18dbfa2576657c9823a9bff"/><file name="Search.php" hash="940a351e6ab3f327fe92f6b73dc8cc7d"/></dir><dir name="Model"><dir name="Export"><file name="Price.php" hash="7bed26b43b252b65c1188f0004f50053"/><file name="Product.php" hash="6ad0b09cf89345ede2e50fdce5905c3e"/><file name="Stock.php" hash="a07efecd3300c1367125f7e303b159df"/></dir><dir name="Layer"><dir name="Filter"><file name="Attribute.php" hash="21454aefd537553c2656c23111d95cba"/><file name="Item.php" hash="1a230f9e48f2af6e3d96e75087858adf"/></dir></dir><dir name="Mysql4"><dir name="Product"><dir name="Attribute"><file name="Collection.php" hash="0ebfad0e9bfd04a25886adfca36b9917"/></dir></dir><dir name="Search"><file name="Collection.php" hash="927e8f3d6d7f98be0dc808513b7fe66d"/><file name="Engine.php" hash="0d16d096efb818ca9ec1d6047d293d20"/></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Enabled.php" hash="da2bd6274937f1d8ea9d0cf4d0eb0203"/></dir><dir name="Source"><file name="Authtype.php" hash="e9d719da382007b41911e7ba1d8bf939"/><file name="Identifier.php" hash="cf792cfe8c84b67b94666900f6a268d0"/></dir></dir></dir><file name="Adapter.php" hash="b16384488a7afc39eb4a4f5ee1132d95"/><file name="Layer.php" hash="18823080e94f03577610c3a11ddfdddb"/></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="factfinder"><file name="jXHR.js" hash="3a0b8c93554d7eab73533e289b3db134"/><file name="suggest.js" hash="6b46f334104cd36abffac13be91db6c8"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Flagbit_FactFinder.xml" hash="99c6b4e5981ac7592830a9fb3f5e5a0e"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>