kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-11-16 11:38 pm

[dw-free] Filter by multiple tags

[commit: http://hg.dwscoalition.org/dw-free/rev/01b24e83f294]

http://bugs.dwscoalition.org/show_bug.cgi?id=1585

Define $LJ::TAG_INTERSECTION with a default of 20.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/ljdefaults.pl
--------------------------------------------------------------------------------
diff -r b5dd5b6b8dfe -r 01b24e83f294 cgi-bin/ljdefaults.pl
--- a/cgi-bin/ljdefaults.pl	Tue Nov 16 20:33:40 2010 +0800
+++ b/cgi-bin/ljdefaults.pl	Tue Nov 16 17:38:12 2010 -0600
@@ -308,6 +308,9 @@ no strict "vars";
     # to avoid S2 error "Excessive recursion detected and stopped."
     $S2::MAX_RECURSION ||= 500;
 
+    # limit number of tags to search in intersection mode
+    $LJ::TAG_INTERSECTION ||= 20;
+
     # not expected to need to be changed
     # default priority for libraries and resources in a sitescheme,
     # so that they come before any stylesheets declared by the page itself
--------------------------------------------------------------------------------