Skip to content

Commit

Permalink
#669 Add status "Review pending" (Jena)
Browse files Browse the repository at this point in the history
  • Loading branch information
Possommi committed Dec 11, 2024
1 parent 8392a99 commit 3072b0a
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 11 deletions.
14 changes: 7 additions & 7 deletions common/src/main/resources/META-INF/resources/statistics.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
</div>
</article>

<xinclude uri="xslStyle:statistics-oa:solr:requestHandler:select:q=partOf%3Atrue+AND+status%3A(confirmed+OR+unchecked)+AND+year%3A[2018+TO+*]&amp;rows=0&amp;json.facet=%7Byear%3A%7Btype%3Aterms,field%3Ayear,sort%3A%7Bindex%3Aasc%7D,facet%3A%7Boa%3A%7Btype%3Aterms,field%3Aoa,sort%3A%7Bindex%3Aasc%7D%7D%7D%7D%7D"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked)+AND+year%3A%5B1980+TO+*%5D&amp;rows=0&amp;facet.field=year"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked)&amp;rows=0&amp;facet.field=destatis"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked)&amp;rows=0&amp;facet.field=origin_exact"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked)&amp;rows=0&amp;facet.field=genre"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked)&amp;rows=0&amp;facet.field=fundingType"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+%2B(status%3Aconfirmed+status%3Aunchecked)+AND+year%3A%5B2015+TO+*%5D&amp;rows=0&amp;facet.field=nid_connection&amp;facet.limit=50"/>
<xinclude uri="xslStyle:statistics-oa:solr:requestHandler:select:q=partOf%3Atrue+AND+status%3A(confirmed+OR+unchecked+OR+status%3AreviewPending)+AND+year%3A[2018+TO+*]&amp;rows=0&amp;json.facet=%7Byear%3A%7Btype%3Aterms,field%3Ayear,sort%3A%7Bindex%3Aasc%7D,facet%3A%7Boa%3A%7Btype%3Aterms,field%3Aoa,sort%3A%7Bindex%3Aasc%7D%7D%7D%7D%7D"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)+AND+year%3A%5B1980+TO+*%5D&amp;rows=0&amp;facet.field=year"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)&amp;rows=0&amp;facet.field=destatis"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)&amp;rows=0&amp;facet.field=origin_exact"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)&amp;rows=0&amp;facet.field=genre"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+AND+%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)&amp;rows=0&amp;facet.field=fundingType"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=partOf%3Atrue+%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)+AND+year%3A%5B2015+TO+*%5D&amp;rows=0&amp;facet.field=nid_connection&amp;facet.limit=50"/>
<xinclude uri="xslStyle:statistics:solr:requestHandler:select:q=objectKind%3Aname&amp;rows=0&amp;facet.pivot=name_id_type,name_id_type"/>

</webpage>
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ search.dozbib.partOf.false = nein
search.dozbib.partOf.true = ja
search.dozbib.partOf.unknown = unbekannt
search.dozbib.status.unchecked = keine Redaktion
search.dozbib.status.reviewpending = Pr\u00FCfung ausstehend
search.update = (Zuordnung anpassen)
thunibib.classification.fachreferate.validation = Bitte w\u00E4hlen sie mindestens ein Fachgebiet aus
thunibib.comment.intern = Zus\u00E4tzliche Hinweise f\u00FCr das Bibliothekspersonal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ search.dozbib.partOf.false = no
search.dozbib.partOf.true = yes
search.dozbib.partOf.unknown = unknown
search.dozbib.status.unchecked = keine Redaktion
search.dozbib.status.reviewpending = Review pending
search.update = (update link)
thunibib.classification.fachreferate.validation = Please select at least one subject
thunibib.comment.intern = Additional information for the library staff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
],
"json.facet": "{year:{type:terms,field:year,limit:100,sort:{index:asc},facet:{oa:{type:terms,field:oa,sort:{index:asc}}}}}",
"fq": "+objectType:mods",
"fq": "status:unchecked OR status:confirmed"
"fq": "status:unchecked OR status:confirmed OR status:reviewPending"
},
"invariants": {
"fl": "",
Expand Down Expand Up @@ -188,7 +188,7 @@
},
"appends": {
"fq": "+objectType:mods",
"fq": "status:unchecked OR status:confirmed"
"fq": "status:unchecked OR status:confirmed OR status:reviewPending"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions jena/src/main/resources/META-INF/resources/index.xed
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
</div>
</article>

<xinclude uri="xslStyle:response-newest:solr:q=partOf%3Atrue+AND+status%3A(confirmed+OR+unchecked)+AND+year%3ANOW&amp;rows=4&amp;sort=year+desc,created+desc&amp;facet=false&amp;fl=id,year"/>
<xinclude uri="xslStyle:response-newest:solr:q=partOf%3Atrue+AND+status%3A(confirmed+OR+unchecked+OR+reviewPending)+AND+year%3ANOW&amp;rows=4&amp;sort=year+desc,created+desc&amp;facet=false&amp;fl=id,year"/>

<aside id="sidebar">
<xinclude uri="xslStyle:response-sidebar-mini:solr:q=%2B(status%3Aconfirmed+status%3Aunchecked)&amp;rows=0"/>
<xinclude uri="xslStyle:response-sidebar-mini:solr:q=%2B(status%3Aconfirmed+status%3Aunchecked+status%3AreviewPending)&amp;rows=0"/>
<xinclude uri="xslStyle:response-sidebar-admin:solr:q=*%3A*&amp;rows=0&amp;facet=true&amp;facet.field=status&amp;facet.mincount=0&amp;facet.range=created&amp;facet.range=modified&amp;facet.range.start=NOW/DAY-30DAY&amp;facet.range.end=NOW&amp;facet.range.gap=%2B1DAY"/>
<xinclude uri="xslStyle:response-sidebar-admin:solr:q=status%3Aimported+AND+importID%3A*&amp;rows=0&amp;facet=true&amp;facet.sort=index&amp;facet.limit=-1&amp;facet.field=importID"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ MCR.Cronjob.Jobs.UpdateFunding = org.mycore.mcr.cronjob.MCRCommandCronJ
MCR.Cronjob.Jobs.UpdateFunding.Enabled = false
MCR.Cronjob.Jobs.UpdateFunding.Command = thunibib update funding of publications from url https://git.uni-jena.de/api/v4/projects/3504/repository/files/HSB_OA-Funding.xml/raw?ref=main
MCR.Cronjob.Jobs.UpdateFunding.Cron = 0 15 28 * *

UBO.Scopus.Importer.Status = reviewPending
28 changes: 28 additions & 0 deletions jena/src/main/resources/status.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<items>
<item value="confirmed">
<label xml:lang="de">redaktionell geprüft</label>
<label xml:lang="en">confirmed</label>
</item>
<item value="reviewPending">
<label xml:lang="de">Prüfung ausstehend</label>
<label xml:lang="en">Review pending</label>
</item>
<item value="submitted">
<label xml:lang="de">eingereicht</label>
<label xml:lang="en">submitted</label>
</item>
<item value="review">
<label xml:lang="de">wird bearbeitet</label>
<label xml:lang="en">in review</label>
</item>
<item value="imported">
<label xml:lang="de">importiert</label>
<label xml:lang="en">imported</label>
</item>
<item value="unchecked">
<label xml:lang="de">keine Redaktion</label>
<label xml:lang="en">no editing</label>
</item>
</items>

0 comments on commit 3072b0a

Please sign in to comment.