Skip Menu |

This queue is for tickets about the Net-Blogger CPAN distribution.

Report information
The Basics
Id: 46706
Status: open
Priority: 0/
Queue: Net-Blogger

People
Owner: Nobody in particular
Requestors: jonathan [...] leto.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.02
Fixed in: (no value)



Subject: Net::Blogger::Engine::MovableType::mt::getRecentPostTitles ignores the number given to it
If you call getRecentPostTitles(5) it ignores the 5 and gets you the default number of posts, which is the last 20 entries.
On Sat Jun 06 15:33:12 2009, LETO wrote: Show quoted text
> If you call getRecentPostTitles(5) it ignores the 5 and gets you the > default number of posts, which is the last 20 entries.
I have attached the one line diff that fixes this. - $self->_Type((int=>$_[0] || 20)), + $self->_Type((int=>$count)), Cheers,
--- Net-Blogger-1.02/lib/Net/Blogger/Engine/Movabletype/mt.pm 2005-12-02 18:39:17.000000000 -0800 +++ Net-Blogger/lib/Net/Blogger/Engine/Movabletype/mt.pm 2009-06-06 16:03:13.000000000 -0700 @@ -149,7 +149,7 @@ $self->_Type(string=>$self->BlogId()), $self->_Type(string=>$self->Username()), $self->_Type(string=>$self->Password()), - $self->_Type((int=>$_[0] || 20)), + $self->_Type((int=>$count)), ); #