mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-06 04:45 am

[dw-free] /directorysearch returns errors

[commit: http://hg.dwscoalition.org/dw-free/rev/6431dc1bf28b]

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

Default limit of 2000 search results from directory.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/ljdefaults.pl
--------------------------------------------------------------------------------
diff -r 62dc8d03b3b5 -r 6431dc1bf28b cgi-bin/ljdefaults.pl
--- a/cgi-bin/ljdefaults.pl	Mon Apr 06 04:38:45 2009 +0000
+++ b/cgi-bin/ljdefaults.pl	Mon Apr 06 04:44:59 2009 +0000
@@ -407,6 +407,9 @@
         profile_design => 1,
         settings_design => 1,
     );
+
+    # default to limit to 2000 results
+    $LJ::MAX_DIR_SEARCH_RESULTS ||= 2000;
 }
 
 # no dependencies.
--------------------------------------------------------------------------------