Added feature #5791: indexed_search: join_pages is now configurable via TypoScript
authorErnesto Baschny <ernst@cron-it.de>
Fri, 23 Nov 2007 16:47:51 +0000 (16:47 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Fri, 23 Nov 2007 16:47:51 +0000 (16:47 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2758 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/indexed_search/ext_typoscript_setup.txt
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php

index 7836240..a5fbb6e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-11-23  Ernesto Baschny  <ernst@cron-it.de>
 
+       * Added feature #5791: indexed_search: join_pages is now configurable via TypoScript
+
+2007-11-23  Ernesto Baschny  <ernst@cron-it.de>
+
        * Fixed bug #6240: pageNotFound_handling returns empty page if specified URL cannot be retrieved. Credit to Helmut Hummel for the fix.
 
 2007-11-23  Oliver Hader  <oh@inpublica.de>
index 7e6dd29..450fd93 100755 (executable)
@@ -46,6 +46,7 @@ plugin.tx_indexedsearch {
                page_links = 10
                detect_sys_domain_records = 0
                defaultFreeIndexUidList =
+               skipExtendToSubpagesChecking = 0
                exactCount = 0
        }
 
index b034020..fe25513 100755 (executable)
@@ -317,6 +317,10 @@ class tx_indexedsearch extends tslib_pibase {
                        }
                }
 
+                       // Should we use join_pages instead of long lists of uids?
+               if ($this->conf['search.']['skipExtendToSubpagesChecking'])     {
+                       $this->join_pages = 1;
+               }
 
                        // Add media to search in:
                if (strlen(trim($this->conf['search.']['mediaList'])))  {