Skip to content
Snippets Groups Projects
Commit ca767e35 authored by Mathias Maaß's avatar Mathias Maaß Committed by Robert Lange
Browse files

refs #23071 [finc] vf7 update: update finc config files according to changes...

refs #23071 [finc] vf7 update: update finc config files according to changes in vufind 7 config files

co-authored by: Robert Lange <robert.lange@uni-leipzig.de>
* VF7 comment changes for search api
* move script for staff view tab to RecordTabs.ini
parent c84483b9
Branches
Tags instance/local/alpha/22747_2
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
;baseUrl = http://localhost/daiatheca/daia/ ;baseUrl = http://localhost/daiatheca/daia/
; Set a DAIA specific timeout in seconds to be used for DAIA http requests (defaults ; Set a DAIA specific timeout in seconds to be used for DAIA http requests (defaults
; to Zend defaults or as defined in ; to client defaults or as defined in
; vendor/vufind-org/vufindhttp/src/VuFindHttp/HttpService.php) ; vendor/vufind-org/vufindhttp/src/VuFindHttp/HttpService.php)
;timeout = 30 ;timeout = 30
......
...@@ -77,3 +77,13 @@ tabs[Preview] = preview ...@@ -77,3 +77,13 @@ tabs[Preview] = preview
tabs[Map] = Map tabs[Map] = Map
tabs[Similar] = SimilarItemsCarousel tabs[Similar] = SimilarItemsCarousel
tabs[Details] = StaffViewArray tabs[Details] = StaffViewArray
; TabScripts is a special section that defines any extra scripts that may be required
; by a tab. Settings are named by the tab name (X above) and may be repeated if
; multiple scripts are required.
[TabScripts]
Details[] = staff_view_button.js
Versions[] = openurl.js
Versions[] = combined-search.js
Versions[] = check_item_statuses.js
Versions[] = record_versions.js
\ No newline at end of file
This diff is collapsed.
...@@ -77,6 +77,7 @@ dateRange[] = publishDateSort ...@@ -77,6 +77,7 @@ dateRange[] = publishDateSort
; (see https://wiki.apache.org/solr/HierarchicalFaceting but note that we always ; (see https://wiki.apache.org/solr/HierarchicalFaceting but note that we always
; use a trailing slash to avoid ambiguities) ; use a trailing slash to avoid ambiguities)
;hierarchical[] = building ;hierarchical[] = building
;hierarchical[] = format
; General sort options for hierarchical facets (Home page, Advanced Search and ; General sort options for hierarchical facets (Home page, Advanced Search and
; SideFacets). ; SideFacets).
...@@ -104,7 +105,7 @@ dateRange[] = publishDateSort ...@@ -104,7 +105,7 @@ dateRange[] = publishDateSort
; single = Display only the deepest level (default) ; single = Display only the deepest level (default)
; full = Display full hierarchy for each entry ; full = Display full hierarchy for each entry
;hierarchicalFacetDisplayStyles[format] = full ;hierarchicalFacetDisplayStyles[format] = full
; Separator used when display hierarchical facet levels (default is "/") ; Separator used when displaying hierarchical facet levels (default is "/")
;hierarchicalFacetSeparators[format] = " > " ;hierarchicalFacetSeparators[format] = " > "
; This section is reserved for special boolean facets. These are displayed ; This section is reserved for special boolean facets. These are displayed
...@@ -143,6 +144,12 @@ facet_limit = 30 ...@@ -143,6 +144,12 @@ facet_limit = 30
;facet_limit_by_field[format] = 50 ;facet_limit_by_field[format] = 50
facet_limit_by_field[publishDateSort] = -1 facet_limit_by_field[publishDateSort] = -1
; Limit facets based on a prefix on a per-field basis:
;facet_prefix_by_field[building] = 22
; Filter facet values to those matching a regular expression on a per-field basis:
;facet_matches_by_field[era_facet] = ".+0"
; By default, the side facets will only show 6 facets and then the "show more" ; By default, the side facets will only show 6 facets and then the "show more"
; button. This can get configured with the showMore settings. ; button. This can get configured with the showMore settings.
; You can use the * to set a new default setting. ; You can use the * to set a new default setting.
...@@ -261,6 +268,18 @@ translated_facets[] = finc_class_facet ...@@ -261,6 +268,18 @@ translated_facets[] = finc_class_facet
; These facets will be displayed on the Home Page when FacetList is turned on in ; These facets will be displayed on the Home Page when FacetList is turned on in
; the content setting of the [HomePage] section of searches.ini. If this section ; the content setting of the [HomePage] section of searches.ini. If this section
; is omitted, the [Advanced] section will be used instead. ; is omitted, the [Advanced] section will be used instead.
; Override the alphabetical sorting for individual facets and display them at the
; top of the limits on the advanced search page. As an example, this could be used
; to display the most commonly searched languages above the rest. All following
; limits display in the natural sorted order.
;limitOrderOverride[language] = Icelandic::English::Spanish
;limitOrderOverride[format] = CD::DVD
; Optional delimiter to use in the limitOrderOverride settings above. When enabled,
; limits must be separated using the same character set here.
;limitDelimiter = "::"
[HomePage] [HomePage]
;callnumber-first = "Call Number" ;callnumber-first = "Call Number"
language = Language language = Language
......
...@@ -78,6 +78,11 @@ defaultDeniedTemplateBehavior = true ...@@ -78,6 +78,11 @@ defaultDeniedTemplateBehavior = true
;controllerAccess[*] = access.VuFindInterface ;controllerAccess[*] = access.VuFindInterface
;controllerAccess[VuFind\Controller\SearchController] = access.SearchResults ;controllerAccess[VuFind\Controller\SearchController] = access.SearchResults
; Configuration for EIT (needed to make it behave correctly in combined
; searches):
[access.EITModule]
deniedTemplateBehavior = showTemplate:error/loginForAccess
; Example configuration for non-standard favorites permission behavior: ; Example configuration for non-standard favorites permission behavior:
;[feature.Favorites] ;[feature.Favorites]
;deniedTemplateBehavior = "showMessage:Login for Favorites" ;deniedTemplateBehavior = "showMessage:Login for Favorites"
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
; The values associated with these keys will be passed along to the services. ; The values associated with these keys will be passed along to the services.
; You can define your own permission providers, or use some of the following: ; You can define your own permission providers, or use some of the following:
; ;
; ipRange - Grant the permission to the single IP adresse or to the range. ; ipRange - Grant the permission to the single IP addresse or to the range.
; Accepts a single IP adresse or a range with a minus character without ; Accepts a single IP address or a range with a minus character without
; blanks as separator. Also partial addresses can be used (e.g. 192.168 ; blanks as separator. Also partial addresses can be used (e.g. 192.168
; denotes 192.168.0.0-192.168.255.255) and IPv6 addresses are also ; denotes 192.168.0.0-192.168.255.255) and IPv6 addresses are also
; supported (unless PHP is compiled with IPv6 disabled). ; supported (unless PHP is compiled with IPv6 disabled).
......
...@@ -107,14 +107,13 @@ retain_filters_by_default = true ...@@ -107,14 +107,13 @@ retain_filters_by_default = true
;default_filters[] = "institution:MyInstitution" ;default_filters[] = "institution:MyInstitution"
;default_filters[] = "(format:Book AND institution:MyInstitution)" ;default_filters[] = "(format:Book AND institution:MyInstitution)"
; Avoid query rebuilding in case the user injects a query in lucene like syntax. ; Default record fields to fetch from Solr when searching (Solr parameter 'fl')
; Provide an array of Search Types for which the lucene query syntax detection ; Default is "*" (since VuFind 7.0). To restore previous setting, just uncomment
; MUST NOT be applied. ; line below.
; Note: this does not work for Search Types used in advanced search as avoiding ;default_record_fields = "*,score"
; advanced lucene detection needs would have to be set either for all
; Search Types used in advanced search or for none at all. Disabling ; Whether the "versions" (FRBR) link and record tab are enabled. Default is true.
; advanced lucene detection for a search does not work partially! ;display_versions = true
;override_advanced_lucene_detection[] = Signatur;
[Cache] [Cache]
; This controls whether the parsed searchspecs.yaml file will be stored to ; This controls whether the parsed searchspecs.yaml file will be stored to
...@@ -196,6 +195,7 @@ title = sort_title ...@@ -196,6 +195,7 @@ title = sort_title
; using the default_sort setting in the [General] section above. ; using the default_sort setting in the [General] section above.
[DefaultSortingByType] [DefaultSortingByType]
CallNumber = callnumber-sort CallNumber = callnumber-sort
WorkKeys = year
; Each search type defined in searchspecs.yaml can have one or more "recommendations ; Each search type defined in searchspecs.yaml can have one or more "recommendations
; modules" associated with it in the following sections. These plug-ins will cause ; modules" associated with it in the following sections. These plug-ins will cause
...@@ -226,6 +226,12 @@ CallNumber = callnumber-sort ...@@ -226,6 +226,12 @@ CallNumber = callnumber-sort
; defined abbrevation of the service provider to resolve the service for ; defined abbrevation of the service provider to resolve the service for
; a specific instituion. Default [url] is set ; a specific instituion. Default [url] is set
; to: www.bibliothek.tu-chemnitz.de/finc/%s/ebsco3.cgi ; to: www.bibliothek.tu-chemnitz.de/finc/%s/ebsco3.cgi
; EDSResults:[GET parameter]:[result limit]
; Display EDS search results matching the terms found in the specified
; GET parameter (default = "lookfor"), limited to a specified number of
; matches (default = 5).
; EDSResultsDeferred:[GET parameter]:[result limit]
; Same as EDSResults, but loaded via AJAX.
; EuropeanaResults:[url]:[requestParam]:[limit]:[unwanted data providers] ; EuropeanaResults:[url]:[requestParam]:[limit]:[unwanted data providers]
; Display search results from Europeana.eu API. ; Display search results from Europeana.eu API.
; Parameters (all are optional): ; Parameters (all are optional):
...@@ -393,11 +399,14 @@ CallNumber = callnumber-sort ...@@ -393,11 +399,14 @@ CallNumber = callnumber-sort
; ;
; AlphaBrowseLink:index ; AlphaBrowseLink:index
; Use the query to generate a link to the specified alphabrowse index ; Use the query to generate a link to the specified alphabrowse index
; DOI:[prefix] ; DOI:[prefix]:[redirect_exact_match]
; Detect DOIs in the user search query. If a DOI makes up part of the search, ; Detect DOIs in the user search query. If a DOI makes up part of the search,
; display a link to resolve it. If it makes up the entire query, redirect to ; display a link to resolve it. If it makes up the entire query, redirect to
; the resolver automatically. [prefix] is the URL of the resolver to which ; the resolver automatically. [prefix] is the URL of the resolver to which
; the DOI itself will be appended. ; the DOI itself will be appended. [redirect_exact_match] is a boolean; set it
; to true if you want a search query that consists only of a DOI to redirect
; automatically to the DOI resolver, or set it to false to only display a
; message with a link. (Default is "true").
; ExternalSearch:[link label]:[url template] ; ExternalSearch:[link label]:[url template]
; Display a link to an external search system. The contents of the <a> tag ; Display a link to an external search system. The contents of the <a> tag
; will be [link label] (which will be run through the translator -- use a ; will be [link label] (which will be run through the translator -- use a
...@@ -406,7 +415,7 @@ CallNumber = callnumber-sort ...@@ -406,7 +415,7 @@ CallNumber = callnumber-sort
; search's lookfor parameter. If you omit the %%lookfor%% placeholder, the ; search's lookfor parameter. If you omit the %%lookfor%% placeholder, the
; search terms will simply be appended to the end of the URL template. ; search terms will simply be appended to the end of the URL template.
; Libraryh3lp:[type]:[id]:[skin] ; Libraryh3lp:[type]:[id]:[skin]
; Display a chat box for the Libraryh3lp service. [type] indicats the type ; Display a chat box for the Libraryh3lp service. [type] indicates the type
; of chat being used (either "queue" or "user"). [id] is the name of the ; of chat being used (either "queue" or "user"). [id] is the name of the
; queue or user. [skin] is optional and specifies a skin number to use. ; queue or user. [skin] is optional and specifies a skin number to use.
; RecommendLinks:[ini section]:[ini name] ; RecommendLinks:[ini section]:[ini name]
...@@ -457,11 +466,14 @@ Author[] = AuthorFacets ...@@ -457,11 +466,14 @@ Author[] = AuthorFacets
;Author[] = SpellingSuggestions ;Author[] = SpellingSuggestions
;Author[] = WorldCatIdentities ;Author[] = WorldCatIdentities
;CallNumber[] = "TopFacets:ResultsTop" ; disable spelling in this context ;CallNumber[] = "TopFacets:ResultsTop" ; disable spelling in this context
; Do not show top recommendations for the Versions (WorkKeys) search by default
WorkKeys[] = false
[NoResultsRecommendations] [NoResultsRecommendations]
;CallNumber[] = SwitchQuery::wildcard:truncatechar ;CallNumber[] = SwitchQuery::wildcard:truncatechar
;CallNumber[] = RemoveFilters ;CallNumber[] = RemoveFilters
;CallNumber[] = AlphaBrowseLink:lcc ;CallNumber[] = AlphaBrowseLink:lcc
WorkKeys[] = false
; These settings control the top and side recommendations within the special Author ; These settings control the top and side recommendations within the special Author
; module (the page accessed by clicking on an author's name within the search ; module (the page accessed by clicking on an author's name within the search
...@@ -594,12 +606,12 @@ topic = "Subjects" ...@@ -594,12 +606,12 @@ topic = "Subjects"
; This section allows sharding to be used to pull in content from additional Solr ; This section allows sharding to be used to pull in content from additional Solr
; servers. All servers used in sharding must contain the same index fields needed ; servers. All servers used in sharding must contain the same index fields needed
; to satisfy queries sent to them AND they must all include different ID numbers! ; to satisfy queries sent to them AND they must all include different ID numbers!
; Leave this commented out to disable sharding. ; Leave this section commented out to disable sharding.
; To use sharding, simply fill in lines using the format: ; To use sharding, simply fill in lines using the format:
; [display name of shard] = [URL of shard (without http://)] ; [display name of shard] = [URL of shard (without http://)]
[IndexShards] [IndexShards]
;Library Catalog = localhost:8080/solr/biblio ;Library Catalog = localhost:8983/solr/biblio
;Website = localhost:8080/solr/website ;Website = localhost:8983/solr/website
ai = ai.ub.uni-leipzig.de/solr/biblio ai = ai.ub.uni-leipzig.de/solr/biblio
main = index.ub.uni-leipzig.de/solr/biblio main = index.ub.uni-leipzig.de/solr/biblio
...@@ -736,9 +748,28 @@ view=full ...@@ -736,9 +748,28 @@ view=full
; IlsStatusMonitor:[target] - Performs an AJAX health check of the ILS and ; IlsStatusMonitor:[target] - Performs an AJAX health check of the ILS and
; prepends a warning message to the HTML element identified by the jQuery selector ; prepends a warning message to the HTML element identified by the jQuery selector
; provided in [target] (which defaults to .searchHomeContent. ; provided in [target] (which defaults to .searchHomeContent.
;
; TemplateBased:[template] - Display the content of template defined after colon.
; The template could be in phtml or md (markdown) format and has to be saved in
; ContentBlock/TemplateBased/ directory of your theme. You can use language code
; filename suffixes to present the content in different languages. For example,
; you could add "content[] = TemplateBased:foo" to the settings below, then create
; a ContentBlock/TemplateBased/foo.phtml (or foo.md) file in your theme's templates
; directory to provide default content. If you wanted a different version of the
; page for the German language, you could create a foo_de.phtml or foo_de.md file,
; and that version would be loaded when the user's language was set to German.
; content[] = IlsStatusMonitor ; content[] = IlsStatusMonitor
content[] = FacetList content[] = FacetList
; This section controls default behavior of the Search API.
; [API]
; These permissions must be defined in permissions.ini to grant access to the API:
; recordAccessPermission = access.api.Record
; searchAccessPermission = access.api.Search
; This is the maximum number of results that can be returned in a single response:
; maxLimit = 100
; PreMunge is used by a listener on the search-pre event ; PreMunge is used by a listener on the search-pre event
; registered by the MungerInjectionDelegatorFactory. This listener applies ; registered by the MungerInjectionDelegatorFactory. This listener applies
; the regex patterns as configured for the search handlers ; the regex patterns as configured for the search handlers
......
...@@ -657,4 +657,10 @@ multipart: ...@@ -657,4 +657,10 @@ multipart:
titleUniform: titleUniform:
QueryFields: QueryFields:
title_id_str_mv: title_id_str_mv:
- [onephrase, ~] - [onephrase, ~]
\ No newline at end of file
WorkKeys:
QueryFields:
work_keys_str_mv:
- [and, 100]
- [or, ~]
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
class="staff-view-btn"> class="staff-view-btn">
<i class="fa fa-info-circle" aria-hidden="true"></i> <?=$this->translate('Staff View')?> <i class="fa fa-info-circle" aria-hidden="true"></i> <?=$this->translate('Staff View')?>
</a> </a>
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::FILE, 'staff_view_button.js', 'SET');?>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?php /* finc: we don't use sms, CK <?php /* finc: we don't use sms, CK
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment