Re: set_display_context_callback() and incorrect pagination

Bharat Mediratta <[email protected]> Sun, 10 Feb 2013 15:55:42 -0800
Newsgroups gmane.comp.web.gallery.devel
Message-ID <CAESa+_kEcpJXLfU59CfnM5-MrW2JvWiRmc_693NmOJ8w0fRmWg@mail.gmail.com>
Haha oops - you're right I forgot to push it.  I just pushed it now.


On Sun, Feb 10, 2013 at 1:37 AM, Mike Miller <[email protected]> wrote:

> On Sat, Feb 9, 2013 at 9:58 PM, Bharat Mediratta <[email protected]>
> wrote:
> > You should have position - we return it in the display context.  I just
> added support for limit and offset in siblings so now in thumbnav you can
> do:
> >
> >         $siblings = $theme->siblings(5, max($theme->position - 2, 0));
> >
> > That returns 5 items, 2 on either side.
>
> At the risk of asking a silly question... did you commit this? I
> didn't see anything at
> https://github.com/gallery/gallery3/commits/master
>
> Thanks
>
> -- Mike
>
>

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

__[ g a l l e r y - d e v e l ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]