Re: [Catalyst] Applying a global SQL filter on REST controller.

2017-02-05 Thread Rajesh Kumar Mallah
Ok it did work out and i am able achieve what i wanted. I created the below subroutine in: ControllerBase/REST.pm sub list_munge_parameters { my ( $self, $c ) = @_; $c->log->debug(" * list_munge_parameters callled!"); $c->req->_set_search_parameters( { society_id =>

Re: [Catalyst] Applying a global SQL filter on REST controller.

2017-02-05 Thread Rajesh Kumar Mallah
Ok i do see some light! that I am exploring. Sorry for the noise i shall post again if i find a solution or otherwise even. http://search.cpan.org/~abraxxa/Catalyst-Controller-DBIC-API-2.006002/lib/Catalyst/Controller/DBIC/API.pm list_munge_parameters list_munge_parameters is a noop by

[Catalyst] Applying a global SQL filter on REST controller.

2017-02-05 Thread Rajesh Kumar Mallah
Dear Catalyst Experts/Users/Hackers, Please guide for the below situation, I have put reasonable effort by searching on online resources. We have an application backed by SQL tables that stores data of multiple customers in same table . We have many such tables and all of them bear a column