[svn:p5ee] r9456 - p5ee/trunk/App-Repository/lib/App/ValueDomain

[email protected]
Newsgroups perl.cvs.p5ee
Message-ID <[email protected]>
Author: spadkins
Date: Thu Apr 26 12:20:59 2007
New Revision: 9456

Modified:
   p5ee/trunk/App-Repository/lib/App/ValueDomain/RepositoryTableColumns.pm

Log:
Added an option to return just cols that have domains associated with them.

Modified: p5ee/trunk/App-Repository/lib/App/ValueDomain/RepositoryTableColumns.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/ValueDomain/RepositoryTableColumns.pm	(original)
+++ p5ee/trunk/App-Repository/lib/App/ValueDomain/RepositoryTableColumns.pm	Thu Apr 26 12:20:59 2007
@@ -103,7 +103,7 @@
                     }
                 }
                 else {
-                    if (!$column_def->{$param} || $column_def->{$param} ne $params->{$param}) {
+                    if ( !$column_def->{$param} || ($column_def->{$param} ne $params->{$param}) && $params->{$param} ne "*" ) {
                         $ok = 0;
                         last;
                     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.