Wrong results on queries with join for some MariaDB versions
I don't think it's a bug. You use GROUP BY and at that moment server leaves only one random value for f_date in each row. After that you apply your filter for results returned by the query inside the view.
According to MariaDB documentation:  


  You can use any of the grouping functions in your select expression.
  Their values will be calculated based on all the rows that have been
  grouped together for each result row. If you select a non-grouped
  column or a value computed from a non-grouped column, it is undefined
  which row the returned value is taken from. This is not permitted if
  the ONLY_FULL_GROUP_BY SQL_MODE is used.
  https://mariadb.com/kb/en/group-by/    


There is no guarantee that value for non-grouped column will be returned from the same group of rows.
I would recommend you to enable ONLY_FULL_GROUP_BY SQL_MODE and add all non-grouped columns to GROUP BY part or apply grouping functions for them (for example, you could use MAX(f_date)).