From 2a945a2bcaeae5b6c4b9b8b5861da0c031a5106a Mon Sep 17 00:00:00 2001 From: mguetlein Date: Mon, 15 Aug 2011 09:15:56 +0200 Subject: add search with model in crossvalidation and qmrf report as discussed with nina in munich --- reach_reports/reach_application.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'reach_reports/reach_application.rb') diff --git a/reach_reports/reach_application.rb b/reach_reports/reach_application.rb index e35df7b..d77906d 100755 --- a/reach_reports/reach_application.rb +++ b/reach_reports/reach_application.rb @@ -48,6 +48,7 @@ end get '/reach_report/:type' do type = extract_type(params) LOGGER.info "list all "+type+" reports" + uris = ReachReports.list_reports(type,params[:model] || params[:model_uri]) if request.env['HTTP_ACCEPT'] =~ /text\/html/ content_type "text/html" related_links = @@ -66,10 +67,10 @@ get '/reach_report/:type' do when /(?i)QPRF/ #TODO end - OpenTox.text_to_html ReachReports.list_reports(type),@subjectid,related_links,description,post_command + OpenTox.text_to_html uris,@subjectid,related_links,description,post_command else content_type "text/uri-list" - ReachReports.list_reports(type) + uris end end -- cgit v1.2.3 From 01cc1d014f1f9ccdeb5925e3fa7d64b2d06c2085 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Mon, 15 Aug 2011 09:53:59 +0200 Subject: adding qmrf jars --- reach_reports/reach_application.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'reach_reports/reach_application.rb') diff --git a/reach_reports/reach_application.rb b/reach_reports/reach_application.rb index d77906d..b380c92 100755 --- a/reach_reports/reach_application.rb +++ b/reach_reports/reach_application.rb @@ -182,6 +182,12 @@ get '/reach_report/:type/:id/editor' do + + + + + + -- cgit v1.2.3