The fix for bug #1044721 broke the journal title hack, which probably
should have lived where this commit moves it - if, in the age of filter
groups, we decide whether it's worthwhile to keep it alive at all.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
}
$query = "$qtype:$query" unless $qtype eq 'keyword' and $i == 0;
- # Hack for journal title - completed!
- if ($q eq 'jtitle') {
- $query = "bib_level:s $query";
- }
-
$bool = ($bool and $bool eq 'or') ? '||' : '&&';
$full_query = $full_query ? "($full_query $bool $query)" : $query;
}
$query .= " container(bre,bookbag," . int($cgi->param("bookbag")) . ")";
}
+ # Journal title hackery complete
+ if ($cgi->param("qtype") && $cgi->param("qtype") eq "jtitle") {
+ $query .= " bib_level(s)";
+ }
+
if ($cgi->param('pubdate') && $cgi->param('date1')) {
if ($cgi->param('pubdate') eq 'between') {
$query .= ' between(' . $cgi->param('date1');