{"id":53,"date":"2008-03-12T21:06:00","date_gmt":"2008-03-12T21:06:00","guid":{"rendered":"http:\/\/www.mohanjith.net\/wordpress\/?p=53"},"modified":"2008-03-12T21:06:00","modified_gmt":"2008-03-12T21:06:00","slug":"hacking-drupal-add-search-by-node","status":"publish","type":"post","link":"https:\/\/mohanjith.net\/blog\/2008\/03\/hacking-drupal-add-search-by-node.html","title":{"rendered":"Hacking drupal: Add search by node creation date and the author"},"content":{"rendered":"<p>Some of the users using one of my Drupal sites were asking for search by author and creation date. The site had 3000+ nodes and the user&#8217;s request seemed reasonable enough. I first started with googling for a Drupal module or a patch that would add the functionality, but none were found.<\/p>\n<p>So when ahead and hacked the node module. I sucessfully managed to add search by author and node creation date to advanced search block. If you are in searching for a patch like I did you can find it at <a href=\"http:\/\/drupal.org\/node\/233476\">http:\/\/drupal.org\/node\/233476<\/a>, I&#8217;m keeping my fingers crossed to see whether it would make it to the Drupal trunk :).<\/p>\n<div id=\"fb-like\" style=\"\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https:\/\/mohanjith.net\/blog\/2008\/03\/hacking-drupal-add-search-by-node.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:300px; height:30px\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>Some of the users using one of my Drupal sites were asking for search by author and creation date. The site had 3000+ nodes and the user&#8217;s request seemed reasonable enough. I first started with googling for a Drupal module or a patch that would add the functionality, but none were found. So when ahead &#8230; <a title=\"Hacking drupal: Add search by node creation date and the author\" class=\"read-more\" href=\"https:\/\/mohanjith.net\/blog\/2008\/03\/hacking-drupal-add-search-by-node.html\" aria-label=\"More on Hacking drupal: Add search by node creation date and the author\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[102,7],"tags":[414,319],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-drupal","category-hacking","tag-drupal","tag-hacking"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lUHm-R","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":0,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}