heikkilevanto / beertracker

Simple script to track the beers I drink
GNU General Public License v2.0
2 stars 1 forks source link

Annual summaries for a specific year #156

Closed heikkilevanto closed 3 years ago

heikkilevanto commented 3 years ago

Make the year number in the annual summary a link, with the q parameter set to the year

If the query param is set, print only that year summary, with top-20 lines. Print links to next/prev years (if we have datato show).

When printing for all years, reduce the number of lines to 6 or 8, so the report might fit on a page or two. Allow the maxl param to override that.

heikkilevanto commented 3 years ago

Did not make the next/prev links, it is easy to select 'Years' again from the pulldown list. Did implement top-N lists, and year-specific lists.