Project

General

Profile

« Previous | Next » 

Revision 855

Added by thorn almost 16 years ago

fixed sorting order of search-results

View differences:

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