From c84c95d6816ddf674b4a953a8f20a17b3791eb95 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 29 Nov 2012 15:49:36 +0100 Subject: [PATCH] Enable meta.filehasher plugin if metadata are enabled on a repo --- .../templates/etc/ajaxplorer/bootstrap_repositories.php/050repo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo b/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo index be2a88f..efcc703 100644 --- a/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo +++ b/root/etc/e-smith/templates/etc/ajaxplorer/bootstrap_repositories.php/050repo @@ -56,7 +56,8 @@ foreach my $share ($a->get_all_by_prop(type=>'share')){ "meta.user" => array ( "meta_fields" => "stars_rate,css_label,anything_area", "meta_labels" => "Rate,Type,Note", - ),'; + ), + "meta.filehasher" => array(),'; $OUT .=<<"EOF"; \$REPOSITORIES["$name"] = array(