From 38564b1ef8ebd2dd7d29f2c22b4a603f81472b83 Mon Sep 17 00:00:00 2001 From: Franky Van Liedekerke Date: Mon, 3 Oct 2016 22:58:44 +0200 Subject: [PATCH] Use better form field to select membership id --- CRM/Member/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/BAO/Query.php b/CRM/Member/BAO/Query.php index e001805d4a..6a7ebb5cd1 100644 --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@ -473,7 +473,7 @@ class CRM_Member_BAO_Query { )); $form->addElement('text', 'member_source', ts('Source')); - $form->addElement('text', 'membership_id', ts('Membership ID')); + $form->add('number', 'membership_id', ts('Membership ID'), array('class' => 'four', 'min' => 1)); CRM_Core_Form_Date::buildDateRange($form, 'member_join_date', 1, '_low', '_high', ts('From'), FALSE); $form->addElement('hidden', 'member_join_date_range_error'); -- 2.25.1