Notifications
Clear all

Advanced Search - Complete Only not working

3 Posts
3 Users
0 Reactions
1,985 Views
(@jessicarae)
Posts: 25
Eminent Member
Topic starter
 

First, I'm still using eFiction version 3.1. I haven't upgraded do to the problems I had when upgrading to 3.1. So, perhaps this is something that can be solved by upgrading?

My problem is that when doing an advanced search, if you check the 'Completed Only' box, the results still list Incomplete stories. Any ideas on how to fix this?

Site: http://www.psychfic.com


 
Posted : 09/08/2007 11:40 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Seems to be a bug.

http://www.potionsandsnitches.net/fanfiction/search.php?searchtype=advanced

Upgrade anyway. πŸ™‚


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 10/08/2007 9:49 am
 SJP
(@sjp)
Posts: 66
Trusted Member
 

This thread is really old, but I wanted to post a solution in case someone searches for an answer after noticing this bug (which is what I did). The problem is around line 170 of search.php

	if(isset($_REQUEST['complete'])) {
$query[] = "stories.completed = '1'";
$countquery[] = "stories.completed = '1'";
}

Change it to

	$completed = $_REQUEST['completed'];
if($completed == "ON") {
$query[] = "stories.completed = '1'";
$countquery[] = "stories.completed = '1'";

}

 
Posted : 24/06/2013 12:19 am
Share: