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
This commit is contained in:
z0rglub 2003-07-23 19:49:15 +00:00
commit 0a5b436654
4 changed files with 98 additions and 36 deletions

View file

@ -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 ) {