Commit Graph

1276 Commits

Author SHA1 Message Date
Sebastian Meyer 01a22c3343
Remove newline 2018-10-15 17:36:03 +02:00
Sebastian Meyer 7249509eaf
Clean up connection 2018-10-15 17:32:37 +02:00
Sebastian Meyer 2ac6c87cb2
Fix version constraints 2018-10-15 16:20:34 +02:00
Sebastian Meyer e300fa4676
Clarify requirements. 2018-10-15 14:06:26 +02:00
Frank Ulrich Weber 1226c1da84 Build field list for query as comma seperated string instead of an array
Both data tyes are working, but comma seperated string is the
recommended way.
2018-10-10 10:22:56 +02:00
Frank Ulrich Weber 886eab836b Update ext_emconf.php 2018-10-10 10:22:56 +02:00
Frank Ulrich Weber 27cfa52b65 Fixes storage of filterquery within params 2018-10-10 10:22:56 +02:00
Frank Ulrich Weber 2b1cd3a9d8 Some Scrutinizer fixes 2018-10-10 10:22:56 +02:00
Frank Ulrich Weber d02143d1c3 Replaces the old SolrPhpClient with Solarium 4.0 2018-10-10 10:22:56 +02:00
Sebastian Meyer 50402bf7fa
Merge pull request #303 from stweil/lgtm
tx_dlf_altoparser: Fix copy+paste bug
2018-09-18 16:12:13 +02:00
Stefan Weil bd61bbfd10 tx_dlf_altoparser: Fix copy+paste bug
This bug was found by the static code analyzer lgtm.

Remove also some unneeded parentheses.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-05 17:52:15 +02:00
Stefan Weil a476833a30 pageview: Replace some stray tab characters
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-05 17:45:57 +02:00
Sebastian Meyer 2f5d1895cc
Merge pull request #301 from stweil/lgtm
Add some missing explicit semicolons
2018-09-05 17:43:45 +02:00
Stefan Weil 28575fba4c tx_dlf_ol3_source: Add missing explicit semicolon
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-05 17:21:25 +02:00
Stefan Weil e6b8837974 tx_dlf_pageview: Add missing explicit semicolon
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-09-05 17:20:59 +02:00
Sebastian Meyer b048142629
Merge pull request #300 from Erikmitk/fix_resumption_token
Fix issues with resumption token
2018-08-22 10:27:59 +02:00
Erik Sommer ae7cc35de0
Check value and not the attribute 2018-08-22 09:58:13 +02:00
Erik Sommer 60842bb48c
Change resumption token from attribute to value 2018-08-22 09:57:43 +02:00
Sebastian Meyer 62ab13d81b
Merge pull request #299 from frank-ulrich-weber/cleanUp
Smaller cleanups
2018-08-20 15:40:01 +02:00
Frank Ulrich Weber 1a51902934 Remove undefined variable 2018-08-02 10:10:02 +02:00
Frank Ulrich Weber 891e5fe97f Remove some unused variables 2018-08-02 10:09:52 +02:00
Frank Ulrich Weber 774b2e227d Fix return type of method tx_dlf_basket->getEntry() 2018-08-02 10:09:45 +02:00
Sebastian Meyer 0ee9955ce7
Merge pull request #294 from frank-ulrich-weber/fix-293
Fixes #293
2018-07-26 16:25:35 +02:00
Sebastian Meyer 86258eb028
Merge pull request #297 from albig/fix-292
remove forceAbsoluteUrl to make links relative
2018-07-24 14:16:52 +02:00
Alexander Bigga 52071ffc6f remove forceAbsoluteUrl to make links relative 2018-07-24 14:07:21 +02:00
Frank Ulrich Weber 3322d43fa6 Apply intval() only if the variable is initalized and does't contain an
empty string.
2018-07-16 14:53:04 +02:00
Sebastian Meyer fa9a68196a
Cast structure ID to string 2018-06-16 08:48:48 +02:00
Sebastian Meyer a033ab5f0a
Merge pull request #289 from albig/fix-288
fix #288: make solr limit configurable in OAI plugin
2018-06-15 09:10:39 +02:00
Sebastian Meyer e7f1a4f5eb
Fix typo in locallang.xml 2018-06-15 08:47:30 +02:00
Alexander Bigga 00d555e503 make solr limit configurable in OAI plugin 2018-06-14 14:37:41 +02:00
Sebastian Meyer 84b3d3c69e
Merge pull request #282 from kitodo/fix-271
Fix using manually created collections as OAI sets
2018-06-13 11:30:49 +02:00
Sebastian Meyer 31eeb6935c
Merge pull request #287 from albig/fix-286
OAI solr query should always respect toplevel setting
2018-06-13 11:14:30 +02:00
Sebastian Meyer 0c767c4e3a
Merge branch 'master' into fix-271 2018-06-13 11:01:20 +02:00
Alexander Bigga 3e07d8ddf2 OAI solr query should always respect toplevel setting 2018-06-12 15:47:08 +02:00
Sebastian Meyer 06ff6454ce
Merge pull request #285 from kitodo/fix-197
Add possibility to use different fulltext formats
2018-05-16 17:37:51 +02:00
Sebastian Meyer 4dcf023eb4
Merge pull request #278 from kitodo/fix-272
Try to match documents by location
2018-05-16 17:34:44 +02:00
Sebastian Meyer 18bf9caac9 Fix composer.json
typo3/cms-core is onyl provided for TYPO3 8.7+
2018-05-14 17:44:00 +02:00
Sebastian Meyer 114e780107 Add possibility to use different fulltext formats 2018-05-14 17:32:52 +02:00
Sebastian Meyer 118576114e
Fix composer.json 2018-05-14 15:36:00 +02:00
Sebastian Meyer ff00d1bca5 Add composer.json 2018-05-14 15:27:51 +02:00
Sebastian Meyer 1b267ed79d
Merge pull request #284 from albig/fix-283
fix #283: compare value with simple array
2018-05-14 13:13:20 +02:00
Sebastian Meyer 28ef61e95a Match location and recordId 2018-05-14 13:01:09 +02:00
Sebastian Meyer d48c45ae89 Remove unused variable
Codacy fix
2018-05-14 12:48:01 +02:00
Alexander Bigga 4cf1f944e2 take solution 2 for array_search as solution 1 does not always work 2018-05-10 10:58:15 +02:00
Alexander Bigga 8f66fa1a5b compare value with simple array
The comparision is done at this point with the following values/arrays:

$resArray['uid'] = 3123;

$record['subparts'][0]['u'] = 4123;
$record['subparts'][1]['u'] = 2123;
$record['subparts'][2]['u'] = 3123;

array_search(3123, $record['subparts']) --> no result

Solutions:

array_search(3123, array_column($record['subparts'], 'u') --> 2

or

array_search(array('u' => 3123), $record['subparts']) --> 2
2018-05-10 10:38:13 +02:00
Sebastian Meyer d3f8ddc136 Fix some collection queries 2018-05-09 17:07:28 +02:00
Sebastian Meyer 68225a168b Add collections from database to document metadata 2018-05-09 16:38:20 +02:00
Sebastian Meyer 37cca6309b
Merge pull request #281 from kitodo/fix-collections
Fix language overlay for collections
2018-05-09 15:04:17 +02:00
Sebastian Meyer c94f16a7d4
Merge pull request #280 from lutzhelm/fix-279-iiif-optional-tiles
Fix #279 - IIIF info.json property "tiles" is optional
2018-05-09 14:09:35 +02:00
Sebastian Meyer 4c8508e6ed Fix language overlay for collections 2018-05-09 14:07:41 +02:00