Skip to content

Commit

Permalink
Add uk:party to party search
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Jan 29, 2025
1 parent 2f27342 commit 8fb1ce0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/ml-modules/root/judgments/search/search-v2.xqy
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ let $query1 := if ($q and not(helper:is-a-consignment-number($q))) then (helper:
let $query2 := if ($party) then
cts:or-query((
cts:element-word-query(fn:QName('http://docs.oasis-open.org/legaldocml/ns/akn/3.0', 'party'), $party),
cts:element-attribute-word-query(fn:QName('http://docs.oasis-open.org/legaldocml/ns/akn/3.0', 'FRBRname'), fn:QName('', 'value'), $party)
cts:element-attribute-word-query(fn:QName('http://docs.oasis-open.org/legaldocml/ns/akn/3.0', 'FRBRname'), fn:QName('', 'value'), $party),
cts:element-word-query(fn:QName('https://caselaw.nationalarchives.gov.uk/akn', 'party'), $party)
))
else ()

Expand Down

0 comments on commit 8fb1ce0

Please sign in to comment.