Title: Filterable Subject Dropdown
Last modified: August 31, 2016

---

# Filterable Subject Dropdown

 *  Resolved [sotirissmix](https://wordpress.org/support/users/sotirissmix/)
 * (@sotirissmix)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/filterable-subject-dropdown/)
 * So I have a made my Subject field into a dropdown, but I’d like to make it filterable
   in the admin view.
 * Here’s my working code so far
 *     ```
       $subject_args = apply_filters( 'wpas_subject_field_args', array(
       			'name' => 'title',
       			'args' => array(
       				'required'   => true,
       				'field_type' => 'select',
       				'label'      => __( "Κατηγορία Αιτήματος", 'awesome-support' ),
       				'options'	 => array(
       					/*''=> "Select Category ",
       				 	'Complaint/suggestion' => "Complaint/Suggestion",
       					'Convention/Participation' => "Convention/Participation",
       				),
       			)
       		) );
   
       		$subject = new WPAS_Custom_Field( 'title', $subject_args );
       		echo $subject->get_output();
       ```
   
 * Help will greatly be appreciated.
 * [https://wordpress.org/plugins/awesome-support/](https://wordpress.org/plugins/awesome-support/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [julien731](https://wordpress.org/support/users/julien731/)
 * (@julien731)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/filterable-subject-dropdown/#post-7214986)
 * After a bit of research I found this tutorial that seems to be what you want:
   [https://www.smashingmagazine.com/2013/12/modifying-admin-post-lists-in-wordpress/#data-filtering](https://www.smashingmagazine.com/2013/12/modifying-admin-post-lists-in-wordpress/#data-filtering)
 * Of course you’ll need to adapt it for the `ticket` post type and the subject 
   column.

Viewing 1 replies (of 1 total)

The topic ‘Filterable Subject Dropdown’ is closed to new replies.

 * ![](https://ps.w.org/awesome-support/assets/icon-256x256.png?rev=1849681)
 * [Awesome Support - WordPress HelpDesk & Support Plugin](https://wordpress.org/plugins/awesome-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-support/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-support/reviews/)

## Tags

 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [Filterable](https://wordpress.org/support/topic-tag/filterable/)
 * [select](https://wordpress.org/support/topic-tag/select/)
 * [subject](https://wordpress.org/support/topic-tag/subject/)

 * 1 reply
 * 2 participants
 * Last reply from: [julien731](https://wordpress.org/support/users/julien731/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/filterable-subject-dropdown/#post-7214986)
 * Status: resolved