[freeside-commits] branch FREESIDE_4_BRANCH updated. 966183ff11dd1a0b21eac2905118f478b84102c5

Mitch Jackson mitch at freeside.biz
Fri Oct 19 15:01:31 PDT 2018


The branch, FREESIDE_4_BRANCH has been updated
       via  966183ff11dd1a0b21eac2905118f478b84102c5 (commit)
      from  393e0c1f9d9175f802832bd9d15d9a230538ec7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 966183ff11dd1a0b21eac2905118f478b84102c5
Author: Mitch Jackson <mitch at freeside.biz>
Date:   Fri Oct 19 17:54:48 2018 -0400

    RT# 31208 Docs $FS::Record::qsearch_qualify_columns

diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index ce12a1609..c790ec01c 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -286,6 +286,11 @@ the individual PARAMS_HASHREF queries
 #regular FS::TABLE methods
 #on it.
 
+C<$FS::Record::qsearch_qualify_columns> package global is enabled by default.
+When enabled, the WHERE clause generated from the 'hashref' parameter has
+the table name prepended to each column name. WHERE column = 'value' becomes
+WHERE table.coumn = 'value'
+
 =cut
 
 my %TYPE = (); #for debugging

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Record.pm | 5 +++++
 1 file changed, 5 insertions(+)




More information about the freeside-commits mailing list