[geeklog-cvs] geeklog-1.3/system/classes search.class.php,1.18,1.19

dhaun at geeklog.net dhaun at geeklog.net
Fri Jan 2 05:32:01 EST 2004


Update of /usr/cvs/geeklog/geeklog-1.3/system/classes
In directory geeklog_prod:/tmp/cvs-serv29336/classes

Modified Files:
	search.class.php 
Log Message:
Fixed display of the story search results: The 'date' column was missing and the author's name was attached to the story title ...


Index: search.class.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/system/classes/search.class.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** search.class.php	1 Jan 2004 20:31:41 -0000	1.18
--- search.class.php	2 Jan 2004 10:31:58 -0000	1.19
***************
*** 301,305 ****
                          $articleUrl .= '&query=' . urlencode($urlQuery);
                      }
!                     $row = array('<a href="' .$_CONF['site_url'] . $articleUrl . '">' . stripslashes($A['title']) . DB_getItem($_TABLES['users'],'username',"uid = '{$A['uid']}'"), $A['hits']);
                      $story_results->addSearchResult($row);
                      $story_results->num_searchresults++;
--- 301,305 ----
                          $articleUrl .= '&query=' . urlencode($urlQuery);
                      }
!                     $row = array('<a href="' .$_CONF['site_url'] . $articleUrl . '">' . stripslashes($A['title']), $thetime[0], DB_getItem($_TABLES['users'],'username',"uid = '{$A['uid']}'"), $A['hits']);
                      $story_results->addSearchResult($row);
                      $story_results->num_searchresults++;





More information about the geeklog-cvs mailing list