Index: lams_central/conf/xdoclet/servlets.xml
===================================================================
RCS file: /usr/local/cvsroot/lams_central/conf/xdoclet/servlets.xml,v
diff -u -r1.14.2.5 -r1.14.2.6
--- lams_central/conf/xdoclet/servlets.xml 26 Jul 2007 03:46:13 -0000 1.14.2.5
+++ lams_central/conf/xdoclet/servlets.xml 27 Aug 2007 03:24:27 -0000 1.14.2.6
@@ -119,12 +119,14 @@
query
- select distinct l.lesson_id, l.name from lams_fed_lesson fl, lams_lesson l, lams_fed_server s
+ select distinct l.lesson_id, l.name, o.code
+ from lams_fed_lesson fl, lams_lesson l, lams_fed_server s, lams_organisation o
where fl.lesson_id=l.lesson_id
and fl.ext_org_id=${param.oid java.lang.Integer}
and s.fed_id=${param.fid}
and fl.server_sid=s.sid
and sha1(s.privatekey)=${param.h}
+ and o.organisation_id=l.organisation_id