Drupal Rooms Availablity Search Block - Ajax breaks "Book this Room" link

Ajax overrides form action="/node-url" with action="/views/ajax"

Workaround with Drupal's hook_form_alter() for views module. See similar problem with solution here: https://www.drupal.org/node/1294164#27

The hook_form_alter() basics can be found here: http://websmiths.co/blog/very-introduction-drupals-hookformalter

function views_form_alter(&$form, &$form_state, $form_id)  {
if($form_id == "rooms_views_booking_button_form") {
    $form['#action'] = url($_GET['q'], array('absolute' => false));
}
}
Taxonomy: 

Drupal themes to be compared