Student finally drank a dodgy mug of beer (7)

I believe the answer is:
tankard
'mug of beer' is the definition.
'tankard' can be an answer for 'mug' (I've seen this in another clue). I'm unsure of the 'of beer' bit.
'student finally drank a dodgy' is the wordplay.
'finally' says to take the final letters.
'dodgy' is an anagram indicator (a dodgy or wrong order of the letters).
The final letter of 'student' is 't'.
'drank'+'a'='dranka'
'dranka' anagrammed gives 'ankard'.
't'+'ankard'='TANKARD'
Can you help me to learn more?
(Other definitions for tankard that I've seen before include "Beer-mug" , "Mug-like drinking vessel" , "Large drinking vessel" , "One-handled drinking mug" , "One-handled beer mug" .)
