Refining Search with Concrete5 api

Permalink
Hi!

How can I re-filter results using the concrete5 api?

I'm trying to realize the Refining Search pattern (http://fur.ly/gse/ )

There is absolutely no tutorial on this topic except:http://fur.ly/gsc

Currently I'm filling variables if a specific $_POST[value] isset(). But I doubt that this is the correct way of doing such a refinable search.

<?php
    if ( isset($is_available) ) {
        $filter_AvailableRooms = 'WHERE r.rIsAvailable=1';
    }
mysql_query("SELECT * FROM Rooms $filter_AvailableRooms);


Can somebody help?

Fernandos
 
Fernandos replied on at Permalink Reply
Fernandos
nvm solved.