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
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
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'";
}
