Authtypecode return an warning even if subfield is ignored
this patch just add a condition to the sql request to return a warning only if authtypecode is not in an ignored subfield. Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
This commit is contained in:
parent
a52ef2cd44
commit
4b022f2bda
|
|
@ -231,6 +231,7 @@ $sth = $dbh->prepare("SELECT frameworkcode, frameworktext, tagfield, tagsubfield
|
|||
LEFT JOIN biblio_framework USING (frameworkcode)
|
||||
WHERE authtypecode IS NOT NULL
|
||||
AND authtypecode <> ''
|
||||
AND tab > '-1'
|
||||
AND authtypecode NOT IN (SELECT authtypecode FROM auth_types)
|
||||
ORDER BY frameworkcode, tagfield, tagsubfield");
|
||||
$sth->execute;
|
||||
|
|
|
|||
Loading…
Reference in New Issue