Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r9700: LJSV-1228 (Shop history page fails to lo...

Committer: ailyin
LJSV-1228 (Shop history page fails to load for people with large numbers of orders): do not check items here either
U   trunk/cgi-bin/LJ/Widget/Shop/History.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/History.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/History.pm	2010-11-12 06:34:56 UTC (rev 9699)
+++ trunk/cgi-bin/LJ/Widget/Shop/History.pm	2010-11-13 05:01:00 UTC (rev 9700)
@@ -31,7 +31,7 @@
 
         my $status;
         if ($cart->can_modify) { $status = 'open'; }
-        elsif ($cart->can_checkout) { $status = 'locked'; }
+        elsif ($cart->get_used eq 'C') { $status = 'locked'; }
         else { $status = 'paid'; }
 
         my $status_string = LJ::Lang::ml("shop.history.status.$status");

Tags: andy, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments