Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
model:customcoll [2013/01/10 17:35]
giancarlo
model:customcoll [2013/01/10 17:49]
giancarlo
Line 273: Line 273:
  
 <code> <code>
 +select $ordine $colle $titlecolle 
 +count( 
 + select $object 
 + from <#ri> 
 + where walk($object <fedora-rels-ext:isMemberOfCollection> $colle 
 + and $libro <fedora-rels-ext:isMemberOfCollection> $object) 
 + and $pagine <fedora-rels-ext:isMemberOf> $libro) 
 +count( 
 + select $libro 
 + from <#ri> 
 + where walk($object <fedora-rels-ext:isMemberOfCollection> $colle 
 + and $libro <fedora-rels-ext:isMemberOfCollection> $object) 
 + and $libro <fedora-model:hasModel> <info:fedora/islandora:bookCModel>
 +count( 
 + select $pagine 
 + from <#ri> 
 + where walk($object <fedora-rels-ext:isMemberOfCollection> $colle 
 + and $libro <fedora-rels-ext:isMemberOfCollection> $object) 
 + and $pagine <fedora-rels-ext:isMemberOf> $libro) 
 +from <#ri> 
 +where ((($colle <fedora-rels-ext:isMemberOfCollection> <info:fedora/islandora:root> 
 +minus 
 +$colle <mulgara:is> <info:fedora/openbess:collezioni>
 +and $ordine <mulgara:is> '3'
 +or ($colle <fedora-rels-ext:isMemberOfCollection> <info:fedora/openbess:collezioni> 
 +and $ordine <mulgara:is> '2'
 +or ($colle <mulgara:is> <info:fedora/islandora:root> 
 +and $ordine <mulgara:is> '1')) 
 +and $colle <dc:title> $titlecolle 
 +order by $ordine $titlecolle
 </code> </code>
  
 
 
model/customcoll.txt · Last modified: 2013/01/10 17:53 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki