放宽批量导入的限制
This commit is contained in:
parent
fff01b40ce
commit
075ff2b2c0
|
@ -36,13 +36,14 @@ class RisHandler implements \Reference\Event\RisEvent
|
||||||
|
|
||||||
$wheresql = array();
|
$wheresql = array();
|
||||||
|
|
||||||
$wheresql[] = " title='{$ref['title']}' ";
|
$wheresql[] = " lower(title)=lower('{$ref['title']}') ";
|
||||||
$wheresql[] = " year='{$ref['year']}' ";
|
$wheresql[] = " year='{$ref['year']}' ";
|
||||||
|
|
||||||
if(isset($ref['publisher']))
|
//暂时不使用期刊限制
|
||||||
|
/*if(isset($ref['publisher']))
|
||||||
{
|
{
|
||||||
$wheresql[] = " publisher='{$ref['publisher']}' ";
|
$wheresql[] = " publisher='{$ref['publisher']}' ";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if(count($wheresql) > 0)
|
if(count($wheresql) > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue