diff options
| author | wjames5 <will@tekimaki.com> | 2010-04-17 22:46:10 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2010-04-17 22:46:10 +0000 |
| commit | c6f1a722c2489b99d5c7d56195ac24abf0a4da77 (patch) | |
| tree | 8ff125477eb220dc8b0debe1f8aa469561788571 /admin | |
| parent | 97956a5c5d06ebb8871bc23ba9de2e387748cdcd (diff) | |
| download | search-c6f1a722c2489b99d5c7d56195ac24abf0a4da77.tar.gz search-c6f1a722c2489b99d5c7d56195ac24abf0a4da77.tar.bz2 search-c6f1a722c2489b99d5c7d56195ac24abf0a4da77.zip | |
SCHEMA CHANGE - liberty_content_types - change content_description to content_name, add column content_name_plural - update all class files and hashes where appropriateCVS_HEAD
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin_search_inc.php | 4 | ||||
| -rw-r--r-- | admin/schema_inc.php | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/admin/admin_search_inc.php b/admin/admin_search_inc.php index ff7d198..3d83886 100644 --- a/admin/admin_search_inc.php +++ b/admin/admin_search_inc.php @@ -1,6 +1,6 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_search/admin/admin_search_inc.php,v 1.18 2010/04/17 15:36:08 wjames5 Exp $ +// $Header: /cvsroot/bitweaver/_bit_search/admin/admin_search_inc.php,v 1.19 2010/04/17 22:46:10 wjames5 Exp $ // Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al. // All Rights Reserved. See below for details and a complete list of authors. @@ -92,7 +92,7 @@ $gBitSmarty->assign( 'formSearchTypeToggles', $formSearchTypeToggles ); // allow selection of what packages can have search foreach( $gLibertySystem->mContentTypes as $cType ) { - $formSearchable['guids']['search_pkg_'.$cType['content_type_guid']] = $cType['content_description']; + $formSearchable['guids']['search_pkg_'.$cType['content_type_guid']] = $gLibertySystem->getContentTypeName( $cType['content_type_guid'] ); } if( !empty( $_REQUEST['store_content'] ) ) { diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 68247a5..8d26111 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -71,4 +71,7 @@ $moduleHash = array( $gBitInstaller->registerModules( $moduleHash ); -?> +// Requirements +$gBitInstaller->registerRequirements( SEARCH_PKG_NAME, array( + 'liberty' => array( 'min' => '2.1.4' ), +)); |
