[interchange-cvs] interchange - racke modified WHATSNEW
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Wed Jul 24 04:05:02 2002
User: racke
Date: 2002-07-24 08:04:29 GMT
Modified: . WHATSNEW
Log:
documentation for new HIDE_FIELD database option added
Revision Changes Path
2.27 +27 -0 interchange/WHATSNEW
rev 2.27, prev_rev 2.26
Index: WHATSNEW
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /anon_cvs/repository/interchange/WHATSNEW,v
retrieving revision 2.26
retrieving revision 2.27
diff -u -r2.26 -r2.27
--- WHATSNEW 23 Jul 2002 23:36:24 -0000 2.26
+++ WHATSNEW 24 Jul 2002 08:04:27 -0000 2.27
@@ -213,6 +213,33 @@
Passes all known tests, and runs accessories/widgets (apparently)
flawlessly in foundation, barry, simple, and the UI.
=20
+* Add new HIDE_FIELD capability to DbSearch. It provides automatic
+ hiding of records accessed via search (and NOT query).
+
+ -When the following configuration is added:
+
+ Database products HIDE_FIELD inactive
+
+ -It adds automatically the qualification to every search:
+
+ WHERE inactive !=3D 1
+
+ -To use, you should have a field of char(1) or int type.
+
+ Database products COLUMN_DEF "inactive=3Dint default 0"
+
+ -This has the side-effect of hiding fields with NULL in the
+ field, so be careful. You should probably set "default 0"
+ as shown above.
+
+ -Works for DBM types too.
+
+ -Does NOT work for TextSearch.
+
+ -If you want to show all records, you can pass mv_no_hide=3D1
+ in the search parameters. Obviously, this makes this not a
+ security feature.
+
* Clear the following intermittent error:
=20
CGI mapping error: multipart/form-data sent incorrectly