# HG changeset patch # User dwinter # Date 1367766589 -7200 # Node ID 33c663a080252c48eb6f73d1ef9483535e143e5a # Parent 5cb46852ac05afc991581ba2cfe883fb2ff6fffa projekte publicationen jetzt nach typen geordnet diff -r 5cb46852ac05 -r 33c663a08025 MPIWGStaff.py --- a/MPIWGStaff.py Sun May 05 13:56:07 2013 +0200 +++ b/MPIWGStaff.py Sun May 05 17:09:49 2013 +0200 @@ -1622,7 +1622,11 @@ selPubs= self.getSelectedPublications() pubs=[] + count =0 for selPub in selPubs: + if limit and count >= limit: + break + count+=1 logging.debug("searchFor:%s"%selPub.escidocid) pubs.append((selPub.escidocid,self.mpiwgPubman.getEntryFromPubman(selPub.escidocid))) @@ -1651,7 +1655,10 @@ if data.get("method") == "search": - entries= self.mpiwgPubman.search(data) + + + + entries= self.mpiwgPubman.search(data,contexts=["escidoc:85274","escidoc:38279"]) pt=PageTemplateFile(os.path.join(package_home(globals()),'zpt/staff/pubman','add_publications.zpt')).__of__(self) diff -r 5cb46852ac05 -r 33c663a08025 zpt/project/pubman/show_publications.zpt --- a/zpt/project/pubman/show_publications.zpt Sun May 05 13:56:07 2013 +0200 +++ b/zpt/project/pubman/show_publications.zpt Sun May 05 17:09:49 2013 +0200 @@ -37,13 +37,40 @@

Selected publications

- -