[dw-free] fix mobile/read.bml
[commit: http://hg.dwscoalition.org/dw-free/rev/972523ff650d]
http://bugs.dwscoalition.org/show_bug.cgi?id=758
Minimally update /mobile/friends.bml to render your reading page.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=758
Minimally update /mobile/friends.bml to render your reading page.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/mobile/friends.bml
-------------------------------------------------------------------------------- diff -r d3d6d154fd5b -r 972523ff650d htdocs/mobile/friends.bml --- a/htdocs/mobile/friends.bml Sat Apr 18 04:04:06 2009 +0000 +++ b/htdocs/mobile/friends.bml Sat Apr 18 04:10:55 2009 +0000 @@ -24,16 +24,16 @@ # Filter first to a "Mobile View" friends group if they have one, # then fall back to "Default View", and then just show them everything - my $filter; +# my $filter; my $groupname = "All friends"; - foreach ("Mobile View", "Default View") { - if (my $grp = LJ::get_friend_group($u, { 'name' => $_ })) { - $groupname = $_; - $filter = 1 << $grp->{'groupnum'}; - last; - } - } +# foreach ("Mobile View", "Default View") { +# if (my $grp = LJ::get_friend_group($u, { 'name' => $_ })) { +# $groupname = $_; +# $filter = 1 << $grp->{'groupnum'}; +# last; +# } +# } $ret = qq { <a href='./'><< Back</a> to LiveJournal Mobile. @@ -45,15 +45,15 @@ }; - my @entries = LJ::get_friend_items({ - 'remoteid' => $u->{'userid'}, + my @entries = $u->watch_items( + 'remote' => $u->{'userid'}, 'itemshow' => $itemsperpage, 'skip' => $skip, 'showtypes' => 'PYC', 'u' => $u, 'userid' => $u->{'userid'}, - 'filter' => $filter, - }); +# 'filter' => $filter, + ); # how many characters to truncate entry at my $max_entry_length = 400; --------------------------------------------------------------------------------