Commit d9ddfbe76c8fd0885b7f832a6430ee9594bf2b14

Authored by Fernando Ribeiro
1 parent db6f54496b
Exists in OPENAIRE5.X

Changed FCT filter as the OAI version 5.X has changed some definitions.

Showing 1 changed file with 40 additions and 25 deletions   Show diff stats
Readme.md
... ... @@ -134,31 +134,46 @@ Before ```</Contexts>``` add:
134 134  
135 135 After last ```</Filter>``` add:
136 136  
137   - <Filter id="fctFilter">
138   - <Definition>
139   - <And>
140   - <LeftCondition>
141   - <And>
142   - <LeftCondition>
143   - <Custom ref="titleExistsCondition"/>
144   - </LeftCondition>
145   - <RightCondition>
146   - <Custom ref="authorExistsCondition"/>
147   - </RightCondition>
148   - </And>
149   - </LeftCondition>
150   - <RightCondition>
151   - <And>
152   - <LeftCondition>
153   - <Custom ref="driverDocumentTypeCondition"/>
154   - </LeftCondition>
155   - <RightCondition>
156   - <Custom ref="fctRelationCondition"/>
157   - </RightCondition>
158   - </And>
159   - </RightCondition>
160   - </And>
161   - </Definition>
  137 + <!-- FCT FILTER -->
  138 + <Filter id="fctFilter">
  139 + <Definition>
  140 + <And>
  141 + <LeftCondition>
  142 + <And>
  143 + <LeftCondition>
  144 + <Custom ref="titleExistsCondition"/>
  145 + </LeftCondition>
  146 + <RightCondition>
  147 + <Custom ref="authorExistsCondition"/>
  148 + </RightCondition>
  149 + </And>
  150 + </LeftCondition>
  151 + <RightCondition>
  152 + <And>
  153 + <LeftCondition>
  154 + <Custom ref="driverDocumentTypeCondition"/>
  155 + </LeftCondition>
  156 + <RightCondition>
  157 + <And>
  158 + <LeftCondition>
  159 + <Or>
  160 + <LeftCondition>
  161 + <Custom ref="itemAccessCondition"/>
  162 + </LeftCondition>
  163 + <RightCondition>
  164 + <Custom ref="itemWithdrawnCondition"/>
  165 + </RightCondition>
  166 + </Or>
  167 + </LeftCondition>
  168 + <RightCondition>
  169 + <Custom ref="fctRelationCondition"/>
  170 + </RightCondition>
  171 + </And>
  172 + </RightCondition>
  173 + </And>
  174 + </RightCondition>
  175 + </And>
  176 + </Definition>
162 177 </Filter>
163 178 <CustomCondition id="fctRelationCondition">
164 179 <Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
... ...