phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #5172] Sort order error


From: nobody
Subject: [Phpgroupware-tracker] [bug #5172] Sort order error
Date: Wed, 10 Sep 2003 19:25:38 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030630 Mozilla Firebird/0.6

=================== BUG #5172: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5172&group_id=509

Changes by: Jonathan Rivera <address@hidden>
Date: Wed 09/10/2003 at 23:25 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This has been fixed in CVS and should be available in the next

release.



=================== BUG #5172: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: phpGroupWare                 
Submitted on: Tue 09/09/2003 at 20:00
Category:  addressbook                Bug Group:  0.9.16RC1                 
Severity:  5 - Major                  Priority:  None                       
Resolution:  Fixed                    Assigned to:  alexbsa                 
Status:  Closed                       Component Version:  CVS               
Platform Version:  None               Reproducibility:  None                

Summary:  Sort order error

Original Submission:  Clicking on view_organization tab on main ab screen after 
clicking on a view_person table header (ie lastname) to sort records by that 
column results in a SQL error



The ORDER BY criteria isn't being cleared and in this example the error says:

Database error: Invalid SQL: SELECT contact_org.name AS org_name, 
contact_addr.add1 AS addr_add1, contact_addr.city AS addr_city, 
contact_central.owner AS owner, contact_central.contact_id AS contact_id FROM 
phpgw_contact_addr AS contact_addr RIGHT JOIN phpgw_contact AS contact_central 
ON contact_central.contact_id = contact_addr.contact_id LEFT JOIN 
phpgw_contact_org AS contact_org ON contact_org.org_id = 
contact_central.contact_id WHERE contact_central.contact_type_id = '28' ORDER 
BY per_last_name LIMIT 100

PostgreSQL Error: 1 (ERROR: Attribute "per_last_name" not found )



File: /home/htdocs/phpgroupware/phpgwapi/inc/class.contacts_sql.inc.php

Line: 837

Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 09/10/2003 at 23:25       By: jarg
This has been fixed in CVS and should be available in the next

release.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5172&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]