Please describe what "doesn't work" means in this case. What were the expected results? What were the actual results? What is the format of the Patch_date field? The latest function cannot be used in the search command. Latest can be used in where or eval.
--- If this reply helps you, an upvote would be appreciated.