Dual-purpose cartridge filter