[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 27 Sep 2006 21:04:14 -0000


albertel		Wed Sep 27 17:04:14 2006 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - domain is a required field for a resource to be found
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.213 loncom/publisher/lonpublisher.pm:1.214
--- loncom/publisher/lonpublisher.pm:1.213	Wed Sep 27 16:34:26 2006
+++ loncom/publisher/lonpublisher.pm	Wed Sep 27 17:04:13 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.213 2006/09/27 20:34:26 albertel Exp $
+# $Id: lonpublisher.pm,v 1.214 2006/09/27 21:04:13 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1470,6 +1470,7 @@
     $metadatafields{'modifyinguser'}=$env{'user.name'}.':'.
 	                                 $env{'user.domain'};
     $metadatafields{'authorspace'}=$cuname.':'.$cudom;
+    $metadatafields{'domain'}=$cudom;
     
     my $allkeywords=$env{'form.addkey'};
     if (exists($env{'form.keywords'})) {