Skip to content

Commit

Permalink
feat: vino-entry-rating-average-method + note
Browse files Browse the repository at this point in the history
  • Loading branch information
d12frosted committed Jan 15, 2025
1 parent 87ccf53 commit 315ee68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vino.el
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ The following things are updated:
;; calculate rating
(values (--map (vulpea-meta-get it "total" 'number) ratings))
(rating (if (functionp vino-entry-rating-average-method)
(funcall vino-entry-rating-average-method values)
(funcall vino-entry-rating-average-method values note)
(when values
(pcase vino-entry-rating-average-method
(`amean (/ (apply #'+ values)
Expand Down

0 comments on commit 315ee68

Please sign in to comment.