Project

General

Profile

« Previous | Next » 

Revision 855

Added by thorn over 16 years ago

fixed sorting order of search-results

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.7.1 -------------------------------------
14
02-Aug-2008 Thomas Hornik
15
# fixed sorting order of search-results
14 16
25-Jul-2008 Thomas Hornik
15 17
# fixed an issues related to search, changed one SQL inner join (to use USING instead of WHERE)
16 18
! added $database = new Database(); in front of output-filter
trunk/wb/search/search.php
342 342
			       p.visibility, p.viewing_groups, p.viewing_users
343 343
			FROM $table_s AS s INNER JOIN $table_p AS p ON s.page_id = p.page_id
344 344
			WHERE s.module = '$module_name' AND p.visibility NOT IN ('none','deleted') AND p.searching = '1' $search_path_SQL
345
			ORDER BY s.section_id, s.position ASC
345
			ORDER BY s.page_id, s.position ASC
346 346
		");
347 347
		if($sections_query->numRows() > 0) {
348 348
			while($res = $sections_query->fetchRow()) {

Also available in: Unified diff