[ZBX-6644] Item prototypes cannot sort by trends and history fields Created: 2013 May 30  Updated: 2017 May 30  Resolved: 2013 Jun 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.6, 2.1.0
Fix Version/s: 2.0.7rc1, 2.1.0

Type: Incident report Priority: Blocker
Reporter: Andrei Gushchin (Inactive) Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: sorting
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Sort error .png    
Issue Links:
Duplicate

 Description   

When zabbix-super admin and zabbix-admin with "read-write" permissions try to sort item prototype by history or by trend fields.



 Comments   
Comment by Andrei Gushchin (Inactive) [ 2013 May 30 ]

Receive error (also on screenshot)

Sorting by field "history" not allowed.
array_slice() expects parameter 1 to be array, boolean given [disc_prototypes.php:373 → getPagingLine() → array_slice() in /var/www/tr/include/func.inc.php:1683]
Invalid argument supplied for foreach() [disc_prototypes.php:377 → CView->render() → include() in /var/www/tr/include/views/configuration.item.prototype.list.php:61]
Comment by Ivo Kurzemnieks [ 2013 Jun 04 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6644

Comment by Pavels Jelisejevs (Inactive) [ 2013 Jun 04 ]

TESTED.

Comment by Ivo Kurzemnieks [ 2013 Jun 04 ]

FIXED in 2.0.7rc1 r36067

Comment by Ivo Kurzemnieks [ 2013 Jun 04 ]

RESOLVED for trunk in svn://svn.zabbix.com/branches/dev/ZBX-6644

Comment by Ivo Kurzemnieks [ 2013 Jun 04 ]

FIXED in 2.1.0 r36073

Comment by Ivo Kurzemnieks [ 2013 Jun 04 ]

CLOSED

Comment by Andrei Gushchin (Inactive) [ 2013 Jun 04 ]

TESTED. It works perfect.

Generated at Thu Apr 25 10:34:39 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.