add function to get data from bootstrap select tag filter group and generate it to the array format