Advertisement:

Author Topic: SOLVED Filter sSearch and fPattern from items search in admin  (Read 143 times)

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1482
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
SOLVED Filter sSearch and fPattern from items search in admin
« on: February 13, 2018, 05:39:17 pm »
How to filter in admin side search values from:
/oc-admin/themes/modern/items/index.php


Code: [Select]
                    id="fPattern" type="text" name="sSearch"
                    value="<?php echo osc_esc_html(Params::getParam('sSearch')); ?>"

and

Code: [Select]
                        <input type="text" name="sSearch" id="sSearch" value="<?php echo osc_esc_html(Params::getParam('sSearch')); ?>" />
after submit?


For example for public search the filter can be applied in
/oc-includes/osclass/controller/search.php
« Last Edit: February 13, 2018, 05:43:54 pm by marius-ciclistu »

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1482
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Filter sSearch and fPattern from items search in admin
« Reply #1 on: February 13, 2018, 05:43:36 pm »
oc-includes/osclass/classes/datatables/ItemsDataTable.php

Solved