version 1.57, 2007/01/08 17:57:23
|
version 1.59, 2007/06/28 18:37:49
|
Line 364 class VLP_subcollection(ECHO_collection)
|
Line 364 class VLP_subcollection(ECHO_collection)
|
sort=self.collectionSort(type) |
sort=self.collectionSort(type) |
|
|
item = [x for x in self.ZSQLSimpleSearch("""SELECT * FROM vl_literature |
item = [x for x in self.ZSQLSimpleSearch("""SELECT * FROM vl_literature |
WHERE volumeid ~ '%s\\M' """%self.getId() |
WHERE volumeid ~ '%s\\\\M' """%self.getId() |
+ """ %s AND not referenceType='%s' """%(online,type) |
+ """ %s AND not referenceType='%s' """%(online,type) |
+ """ORDER BY """ + sort)] |
+ """ORDER BY """ + sort)] |
|
|
Line 426 class VLP_collection(ECHO_collection):
|
Line 426 class VLP_collection(ECHO_collection):
|
|
|
def generateSubCollections(self,errorsTXT=""): |
def generateSubCollections(self,errorsTXT=""): |
"""erzeuge subcollectionen""" |
"""erzeuge subcollectionen""" |
founds=self.ZSQLSimpleSearch("select * from vl_literature where referencetype in ('(Edited Book)','(Book)','(Collection)','(JournalVolume)','(Generic Container)'") |
founds=self.ZSQLSimpleSearch("select * from vl_literature where referencetype in ('(Edited Book)','(Book)','(Collection)','(JournalVolume)','(Generic Container)')") |
|
|
self.REQUEST.RESPONSE.write("<h2>Create Subcollections</h2>\n") |
self.REQUEST.RESPONSE.write("<h2>Create Subcollections</h2>\n") |
for found in founds: |
for found in founds: |
Line 756 class VLP_resource(ECHO_resource,Cacheab
|
Line 756 class VLP_resource(ECHO_resource,Cacheab
|
def dir2index(self): |
def dir2index(self): |
"""dir to index""" |
"""dir to index""" |
|
|
excludeNames=['Icon'] |
excludeNames=['Icon',':2eD'] |
|
|
|
|
def calculateName(str): |
def calculateName(str): |