Project searching by year

This pulls add similar behavior of https://github.com/Dolibarr/dolibarr/pull/1878 but applies to all projects