--- MPIWGWeb/bibliography.py 2006/11/06 16:08:30 1.7.2.8 +++ MPIWGWeb/bibliography.py 2008/12/17 08:02:19 1.7.2.10 @@ -23,7 +23,7 @@ def formatBiblHelp(self,found,table,id,f ret="" if not foundIB: try: - foundIB=self.ZSQLInlineSearch(_table=table,id=id)[0] + foundIB=self.ZSQLInlineSearch(_table=table,id=id,_op_id="eq")[0] except: return ret @@ -78,6 +78,11 @@ def formatBiblHelp(self,found,table,id,f ret+=CRListToSemicolon(foundIB.author)+". ""+foundIB.title+"." "+foundIB.secondary_title+", " ret+=foundIB.date+"."+foundIB.year+"," if foundIB.pages and (not foundIB.pages==''): + ret+=foundIB.pages+". " + elif foundIB.reference_type.lower()=='magazine article': + ret+=CRListToSemicolon(foundIB.author)+". ""+foundIB.title+"." "+foundIB.secondary_title+", " + ret+=foundIB.date+"."+foundIB.year+"," + if foundIB.pages and (not foundIB.pages==''): ret+=foundIB.pages+". "