->where('(library.available_until >=', date("Y-m-d H:i:s"), FALSE) ->or_where("library.available_until = '00-00-00 00:00:00')", NULL, FALSE)