[interchange-cvs] interchange - pajamian modified dist/standard/catalog.cfg

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Thu Sep 14 06:33:59 EDT 2006


User:      pajamian
Date:      2006-09-14 10:33:59 GMT
Modified:  dist/standard catalog.cfg
Log:
* If we don't match a prod_group and category in a missing page return the
  missing SpecialPage not results.html.

* If we do have a match display it in the results SpecialPage instead of hard
  coding it to results.html.

Revision  Changes    Path
1.17      +5 -1      interchange/dist/standard/catalog.cfg


rev 1.17, prev_rev 1.16
Index: catalog.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/standard/catalog.cfg,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- catalog.cfg	24 Aug 2006 13:00:10 -0000	1.16
+++ catalog.cfg	14 Sep 2006 10:33:59 -0000	1.17
@@ -670,6 +670,10 @@
     $CGI->{sp} = 'results';
     $CGI->{mv_todo} = 'search';
     $Tag->update('process');
-    return (1, 'results');
+    if (($o = $Search->{''}) && @{$o->{mv_results}}) {
+        return (1,  $Config->{Special}->{results});
+    }
+
+    return;
 }
 EOS








More information about the interchange-cvs mailing list