Changeset 7519 for extensions/AMetaData/amd_ajax.php
- Timestamp:
- Oct 31, 2010, 7:08:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/amd_ajax.php
r7447 r7519 162 162 ($_REQUEST['filterType']=="exif.maker.Pentax" and !in_array('maker', $this->config['amd_FillDataBaseExcludeFilters'])) or 163 163 ($_REQUEST['filterType']=="xmp" and !in_array('xmp', $this->config['amd_FillDataBaseExcludeFilters'])) or 164 ($_REQUEST['filterType']=="iptc" and !in_array('iptc', $this->config['amd_FillDataBaseExcludeFilters'])) 164 ($_REQUEST['filterType']=="iptc" and !in_array('iptc', $this->config['amd_FillDataBaseExcludeFilters'])) or 165 ($_REQUEST['filterType']=="com" and !in_array('com', $this->config['amd_FillDataBaseExcludeFilters'])) 165 166 )) $_REQUEST['filterType']=""; 166 167 … … 659 660 * @param String $orderType : order for the list (by tag 'tag' or by number of 660 661 * pictures 'num') 661 * @param String $filterType : filter for the list ('exif', 'xmp', 'iptc' or '')662 * @param String $filterType : filter for the list ('exif', 'xmp', 'iptc', 'com' or '') 662 663 * @return String 663 664 */ … … 1533 1534 paut.tagId = 'xmp.digiKam:TagsList' OR 1534 1535 paut.tagId = 'xmp.lr:hierarchicalSubject' OR 1535 paut.tagId = 'iptc.Keywords');"; 1536 paut.tagId = 'iptc.Keywords' OR 1537 paut.tagId = 'magic.Author.Keywords');"; 1536 1538 $result=pwg_query($sql); 1537 1539 if($result) … … 1545 1547 */ 1546 1548 $tmp=unserialize($row['value']); 1549 if(!isset($tmp['values'])) $tmp=array('values'=>$tmp); 1547 1550 foreach($tmp['values'] as $val) 1548 1551 { … … 1636 1639 paut.tagId = 'xmp.digiKam:TagsList' OR 1637 1640 paut.tagId = 'xmp.lr:hierarchicalSubject' OR 1638 paut.tagId = 'iptc.Keywords');"; 1641 paut.tagId = 'iptc.Keywords' OR 1642 paut.tagId = 'magic.Author.Keywords');"; 1639 1643 $result=pwg_query($sql); 1640 1644 if($result) … … 1648 1652 */ 1649 1653 $tmp=unserialize($row['value']); 1654 if(!isset($tmp['values'])) $tmp=array('values'=>$tmp); 1650 1655 foreach($tmp['values'] as $val) 1651 1656 { 1652 if($row['tagId']=='xmp.digiKam:TagsList' )1657 if($row['tagId']=='xmp.digiKam:TagsList' or $row['tagId']=='xmp.lr:hierarchicalSubject') 1653 1658 { 1654 1659 $list=explode($this->tagSeparators[$row['tagId']], $val);
Note: See TracChangeset
for help on using the changeset viewer.