[ARVADOS] updated: a3e6fef2360a470ec33e9792ffdc7dc66d491cb8

Git user git at public.curoverse.com
Sat Aug 20 18:20:53 EDT 2016


Summary of changes:
 services/api/app/models/job.rb | 4 ++++
 1 file changed, 4 insertions(+)

       via  a3e6fef2360a470ec33e9792ffdc7dc66d491cb8 (commit)
      from  051a3252f53a564ccac8d764cb0cff65b1987f77 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit a3e6fef2360a470ec33e9792ffdc7dc66d491cb8
Author: Tom Clegg <tom at curoverse.com>
Date:   Sat Aug 20 18:20:29 2016 -0400

    9773: Exclude script_parameters_digest from searchable columns -- it is not even visible to clients.

diff --git a/services/api/app/models/job.rb b/services/api/app/models/job.rb
index 4b9b687..0aaa0bd 100644
--- a/services/api/app/models/job.rb
+++ b/services/api/app/models/job.rb
@@ -110,6 +110,10 @@ class Job < ArvadosModel
     self.script_parameters_digest = self.class.sorted_hash_digest(script_parameters)
   end
 
+  def self.searchable_columns operator
+    super - ["script_parameters_digest"]
+  end
+
   protected
 
   def self.sorted_hash_digest h

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list