The extension vote was opposed by Democrats and supported by most Republicans while the USA Freedom Act was supported by all democrats and opposed by most Republicans. While it is indeed good that the Patriot Act wasn't extended this is the consolation prize of the actual worse news that the USA Freedom Act didn't pass.
While the USA Freedom Act isn't perfect, and was weakened in the House [1], it is still far far better than the Patriot Act has meaningful reforms. It also still has the support of the EFF [1]. Overall, it's failure to pass is bad news and could lead to an even worse bill.