Author: sevein
Date: Sun Oct 10 11:05:11 2010
New Revision: 8048
Log:
Add function search support in descriptionUpdates action. Fixes issue 1757.
Modified:
trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
Modified:
trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
Sun Oct 10 11:04:08 2010 (r8047)
+++ trunk/apps/qubit/modules/search/actions/descriptionUpdatesAction.class.php
Sun Oct 10 11:05:11 2010 (r8048)
@@ -47,7 +47,8 @@
'QubitInformationObject' =>
sfConfig::get('app_ui_label_informationobject'),
'QubitActor' => sfConfig::get('app_ui_label_actor'),
'QubitRepository' => sfConfig::get('app_ui_label_repository'),
- 'QubitTerm' => sfConfig::get('app_ui_label_term'));
+ 'QubitTerm' => sfConfig::get('app_ui_label_term'),
+ 'QubitFunction' => sfConfig::get('app_ui_label_function'));
$this->form->setValidator($name, new sfValidatorString);
$this->form->setWidget($name, new sfWidgetFormSelect(array('choices'
=> $choices)));
@@ -156,6 +157,12 @@
break;
+ case 'QubitFunction':
+ $nameColumn = 'authorized_form_of_name';
+ $this->nameColumnDisplay = 'Name';
+
+ break;
+
case 'QubitRepository':
$nameColumn = 'authorized_form_of_name';
$this->nameColumnDisplay = 'Name';
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.