[Jifty-commit] r4615 - in jifty/trunk: lib/Jifty/Plugin
lib/Jifty/View/Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Dec 4 01:44:32 EST 2007
Author: jesse
Date: Tue Dec 4 01:44:32 2007
New Revision: 4615
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/Recorder.pm
jifty/trunk/lib/Jifty/View/Declare/CRUD.pm
Log:
r72650 at pinglin: jesse | 2007-12-04 01:24:32 -0500
Jifty::YAML, not YAML;
r72653 at pinglin: jesse | 2007-12-04 01:43:42 -0500
use Jifty::YAML
Modified: jifty/trunk/lib/Jifty/Plugin/Recorder.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Recorder.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/Recorder.pm Tue Dec 4 01:44:32 2007
@@ -5,7 +5,6 @@
__PACKAGE__->mk_accessors(qw/start path loghandle/);
use Time::HiRes 'time';
-use YAML;
use Jifty::Util;
use Storable 'nfreeze';
@@ -56,7 +55,7 @@
eval {
my $delta = time - $self->start;
my $request = { cgi => nfreeze($cgi), ENV => \%ENV, time => $delta };
- my $yaml = YAML::Dump($request);
+ my $yaml = Jifty::YAML::Dump($request);
print { $self->loghandle } $yaml;
};
Modified: jifty/trunk/lib/Jifty/View/Declare/CRUD.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/CRUD.pm (original)
+++ jifty/trunk/lib/Jifty/View/Declare/CRUD.pm Tue Dec 4 01:44:32 2007
@@ -583,6 +583,8 @@
my $item_path = shift;
my $callback = shift;
my $object_type = $self->object_type;
+ $collection->_do_search(); # we're going to need the results.
+ # XXX TODO, should use a real API to force the search
if ( $collection->count == 0 ) {
show('./no_items_found');
}
More information about the Jifty-commit
mailing list