Bug on PageListPlus#filterByAttributes

Permalink Browser Info Environment
Can not filter by multiple type attributes

if (is_object($attributeKey) || $isStandardProperty) {
       $dateFormat = 'Y-m-d H:i:s';
       if ($isStandardProperty) {
          $currentValue = $this->getStandardPropertyAttributeValue($akID);
          $handle = $this->getStandardPropertyAttributeHandle($akID);
          $isDate = $this->getStandardPropertyAttributeIsDate($akID);
       } else {
          $currentValue = $this->collectionObject->getCollectionAttributeValue($attributeKey);
          $handle = 'ak_' . $attributeKey->akHandle;
          if ($attributeKey->atHandle == "date_time") {
             $isDate = true;
             $db = Loader::db();
             $dateDisplayMode = $db->GetOne('select akDateDisplayMode from atDateTimeSettings where akID = ?', $attributeKey->getAttributeKeyID());
             $dateDisplayMode = $dateDisplayMode == '' ? 'date_time' : $dateDisplayMode;
             $dateFormat = $dateDisplayMode == 'date' ? 'Y-m-d' : 'Y-m-d H:i:s';


version: 5.6.0.0.0.5.7

Type: Discussion
Status: New
hissy
View Replies:

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
Localizer (1.0.0), Page List+ (5.6.0.0.0.5.7), Restore Automated Jobs (1.3), Static Site Exporter (0.8.5), Static Site Exporter Extend (0.0.7), Where Is My Block? (1.1), サイト構築初期化 (0.1), 画像ギャラリー (1.0.1).

# concrete5 Overrides

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache/2.2.15 (Red Hat)

# Server API
apache2handler

# PHP Version
5.3.3

# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, json, libxml, mbstring, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, xml, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 20M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 20M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.