Skip to content

Commit

Permalink
Merge branch 'test' into 33-one-part-names
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Richter committed Nov 28, 2024
2 parents 9eed946 + 2558121 commit ff11c90
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 21 deletions.
53 changes: 43 additions & 10 deletions Configuration/TypoScript/setup.typoscript
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,48 @@

# page.includeJSFooter.BibliographyController = EXT:liszt_bibliography/Resources/Public/JavaScript/Src/BibliographyController.js


/*
plugin.tx_liszt_common {
settings {
searchBarSelectItems {
1:{
label = Literatur
href = #
}
plugin.tx_lisztcommon_searchlisting {
settings {
entityTypes {
1 {
# the key which leads to the entity type name translation in the locallang file
labelKey = bibliography
# the current extension name, needed for translation of label key
extensionName = liszt_bibliography
# the name of the entity index
indexName = zotero
# the filter fields
filters {
0 {
field = itemType
type = terms
}
1 {
field = place
type = terms
}
2 {
field = date
type = terms
}
3 {
field = publicationTitle
type = terms
}
4 {
field = creators
type = nested
script (
String firstName = doc['creators.firstName.keyword'].size() > 0 ? doc['creators.firstName.keyword'].value : '';
String lastName = doc['creators.lastName.keyword'].size() > 0 ? doc['creators.lastName.keyword'].value : '';
if (firstName == '' && lastName == '') {
return null;
}
return (firstName + ' ' + lastName).trim();
)
}
}
}
}
}*/
}
}
25 changes: 14 additions & 11 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="EXT:publisher_db/Resources/Private/Language/locallang" date="2022-12-19T13:20:31Z" product-name="publisher_db">
<header/>
<body>
<trans-unit id="listing_title" resname="tx_publisherdb_domain_model_publishermikroitem">
<source>Bibliographie-Listing</source>
</trans-unit>
<trans-unit id="listing_description" resname="tx_publisherdb_domain_model_publishermikroitem">
<source>Eine Auflistung aller Einträge der Liszt-Bibliographie</source>
</trans-unit>
</body>
</file>
<file source-language="en" datatype="plaintext" original="EXT:publisher_db/Resources/Private/Language/locallang" date="2022-12-19T13:20:31Z" product-name="publisher_db">
<header/>
<body>
<trans-unit id="listing_title" resname="listing_title">
<source>Bibliographie-Listing</source>
</trans-unit>
<trans-unit id="listing_description" resname="listing_description">
<source>Eine Auflistung aller Einträge der Liszt-Bibliographie</source>
</trans-unit>
<trans-unit id="bibliography" resname="bibliography">
<source>Literatur</source>
</trans-unit>
</body>
</file>
</xliff>

0 comments on commit ff11c90

Please sign in to comment.