Ralf Becker
33918385fc
fixed 2 other probs:
...
- cat_id is varchar, so the id's in "cat_id IN ('1','2')" have to be in single quotes for MaxDB
- search on text-columns:
* MsSQL need to cast the column to varchar
* MaxDB cant do it at all
2004-09-19 12:34:34 +00:00
Ralf Becker
b125007c92
reworked the contacts class using the new db-functions to fully support MaxDB
2004-09-19 11:33:31 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
4b7ced6e84
fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list
2004-04-04 22:23:47 +00:00
Ralf Becker
53f20990de
as talked with lars ;-)
2004-04-04 20:50:29 +00:00
Lars Kneschke
269756f577
add wraper function to support phpgw contact api
2004-03-22 15:34:32 +00:00
Ralf Becker
31add06b33
added last_mod to fields always fetched, as its not in the standard_address_fields, it get never returned
...
(last_mod is not implemented in ldap so far)
2004-03-09 23:42:40 +00:00
Ralf Becker
3803f842f3
added missing return on success
2004-03-07 09:53:26 +00:00
Ralf Becker
809a2b8827
fixed foreach for no extra_fields
2004-03-06 20:34:56 +00:00
Miles Lott
50586e085c
Cleanup select and insert from integer fields which had quotes around them.
2004-02-09 20:18:21 +00:00
Miles Lott
f07775857e
use foreach where possible vs. reset/while; Move extra loop in read() and read_single_entry() into the existing loop in sql/ldap classes.
2004-01-24 15:57:57 +00:00
Miles Lott
63d80f2fcd
Add the search for 1st character of certain fields, showing alphabet at the top. This feature was lost for 2 years(!), so hopefully it works for you.
2004-01-17 03:21:21 +00:00
Miles Lott
feb9a52840
Readd missing stock fields
2003-12-17 11:22:37 +00:00
Pim Snel
51afdd7cfd
fixed parse error, sorry ;(
2003-12-17 11:00:43 +00:00
Pim Snel
1e7f7531b8
fixed the storage of loginid for contacts
2003-12-17 01:14:43 +00:00
Miles Lott
ad9658f725
gettype, intval, ereg_replace changes
2003-12-10 11:36:54 +00:00
Ralf Becker
985c601188
updated add and update to allow access,cat_id,tid as param or in values-array
2003-11-14 21:23:40 +00:00
Ralf Becker
be9802d6f6
fix to get cat_id and access saved again
2003-11-04 16:17:11 +00:00
Ralf Becker
6486998106
added syntax for not-empty check in filter, eg. email=!''
2003-11-03 00:25:21 +00:00
Ralf Becker
8c9c2f09d0
some more xmlrpc changes
2003-10-24 20:42:00 +00:00
Miles Lott
b2d20be441
Fix for count() using postgresql with query
2003-10-19 18:34:45 +00:00
Miles Lott
fe494abdc1
Fixed count() for postgresql, I hope
2003-10-19 18:29:44 +00:00
Miles Lott
61bf56843f
Oops, this is a more accurate count
2003-10-19 08:12:16 +00:00
Miles Lott
c02c4f563e
possibly more efficient record counting query, and fix limit case on queries that return less than limit
2003-10-19 08:06:52 +00:00
Miles Lott
dec0934ee3
Now using copyobj() - please advise if it breaks and how
2003-10-18 11:12:19 +00:00
shrykedude
18f7b1e05f
pgsql fix for empty var
2003-10-11 00:02:23 +00:00
Lars Kneschke
50cee38d83
[ 813855 ] project fix for bug 813570
...
https://sourceforge.net/tracker/index.php?func=detail&aid=813855&group_id=78745&atid=554340
Author: Shryke Dude (shrykedude)
2003-09-28 14:07:13 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Ralf Becker
0b53b03eae
skwashd's patch to use last_insert_id instead of an extra max(id) query
2003-03-19 23:14:21 +00:00
Miles Lott
e25be5b24a
GNU Patch #488
2002-08-22 12:22:58 +00:00
Miles Lott
8b5007c987
case-insensitive check for 1st char (some rdbms)
2002-05-13 23:39:30 +00:00
Miles Lott
ad9134c5d9
fix stupid sql error
2002-05-13 23:27:40 +00:00
Miles Lott
03a1333c4f
Part two of two - implement filter by first char of last name, fullname, or company (for now)
2002-05-13 00:43:57 +00:00
Miles Lott
9dcc98b2d5
Formatting, replace gettype with is_???
2002-02-08 05:04:33 +00:00
Miles Lott
3993c41752
Make query into a loop to check all std fields.
2001-11-23 00:59:02 +00:00
Lars Kneschke
86106fc365
some changes again
2001-09-19 15:49:57 +00:00
Lars Kneschke
d8a9ec138a
the addressbook was returning only 1 row
...
very bad!! :)
Cu
2001-09-19 14:09:11 +00:00
Miles Lott
7d57b31ba0
use db_addslashes
2001-09-17 02:26:46 +00:00
Miles Lott
f3be3189e4
Some fixes to ensure we don't put accting fields into the extra table
2001-09-09 22:55:43 +00:00
Miles Lott
e859918f83
trying to fix a php4-only error (?)
2001-09-05 23:19:06 +00:00
Miles Lott
c058fc3081
Remove class var duplicates
2001-09-05 14:59:12 +00:00
Miles Lott
e372d5bcdc
Move class vars out of constructor, remove unneeded extra db objects
2001-09-05 12:03:51 +00:00
Miles Lott
c08ed955e1
Use $GLOBALS
2001-08-23 06:55:12 +00:00
Miles Lott
66013bfe3c
Make contacts->add() return the id, since it finds it anyway
2001-08-09 00:32:59 +00:00
Miles Lott
132cc41e5a
If the passed tid = ' ', etc, set it to 'n'
2001-07-18 04:55:31 +00:00
Miles Lott
c0ea75e678
Fix to use new limit_query() parameters
2001-07-08 14:09:04 +00:00
Miles Lott
792e64f4e2
Moving these back to api
2001-07-05 07:37:36 +00:00
seek3r
1360248588
moved files
2001-02-02 07:02:03 +00:00
Miles Lott
404f0c79da
Correct field mapping
2001-02-02 06:28:56 +00:00
Miles Lott
f6c10d906a
Begin changes to implement VCard as a standard - SQL only
2001-02-02 03:13:01 +00:00