changeset 581:7c06dde557ec feature_36

Fixed Missing User Id when using auto complete to add authors
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 10 Aug 2011 16:23:55 +0100
parents 22262ff56e84
children 7cca1ac03f0c
files vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb	Wed Aug 10 16:20:40 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb	Wed Aug 10 16:23:55 2011 +0100
@@ -21,7 +21,7 @@
 
       author_info = {
         :name_on_paper => author.name,
-        :user_id => author.id, 
+        :author_user_id => author.id, 
         :institution  => "",
         :is_user  => "1"
       }
@@ -36,7 +36,7 @@
 
       author_info = { 
         :name_on_paper => author.name, 
-        :user_id => author.user_id,
+        :author_user_id => author.user_id,
         :id => author.id, 
         :is_user  => "0"
       }