aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-07-23 19:49:15 +0000
committerz0rglub <z0rglub@piwigo.org>2003-07-23 19:49:15 +0000
commit0a5b436654df4c849749435eacec380e092351a8 (patch)
treedca43d37f1f60d6ef12d5cbef32b5275c5176024 /include/functions_category.inc.php
parent53479d08c3e10bbb8eb14c0659c3a8141318617a (diff)
Support of keywords for pictures. They are used in the search
git-svn-id: http://piwigo.org/svn/trunk@33 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_category.inc.php')
-rw-r--r--include/functions_category.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 989349466..f0b825381 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -421,7 +421,7 @@ function initialize_category( $calling_page = 'category' )
}
$page['where'] = ' WHERE (';
- $fields = array( 'file', 'name', 'comment' );
+ $fields = array( 'file', 'name', 'comment', 'keywords' );
$words = explode( ',', $_GET['search'] );
$sql_search = array();
foreach ( $words as $i => $word ) {