PassAndroid icon indicating copy to clipboard operation
PassAndroid copied to clipboard

Sort passes by upcoming and past events

Open simontb opened this issue 8 years ago • 4 comments

Show upcoming events first (sorted by date ascending), then past events (sorted by date descending). Also show a small divider to better differentiate between the upcoming and past section.

I can open a PR as soon as I have implemented this if you want. Will definitely implement this in my fork.

simontb avatar Mar 02 '17 16:03 simontb

I would like to see this functionality as well. Would be great if you could submit a PR for this @simontb! 😄

janvonde avatar May 15 '17 04:05 janvonde

A problem is, that there are not only events, but also other kinds of passes. I started looking into this, but did not complete this so far, mainly because I am confused by the various PassTypes and what this means for the attributes validTimespans and calendarTimespan.

I would continue, if I had example passes for all types. Then I could debug and try to find a consistent solution. Maybe @ligi can provide some?

simontb avatar May 17 '17 12:05 simontb

@simontb i believe there are a great number of example passes online, e.g. a whole collection at http://passdock.com/create-mobile-passes

symbolisch1234 avatar Aug 30 '17 15:08 symbolisch1234

+2 in v3.4.5 the (lack of) ordering, and separation of expired, is the single most confusing aspect of this otherwise GREAT free app (TX for it!).

vorburger avatar Feb 02 '18 10:02 vorburger