A hydraulic filter includes a canister extending along the longitudinal
axis. A closed end cap is at one end of the canister for closing one end
thereof. A removable filter element is contained within the canister and
a modular one-piece input end cap is at an end of the canister. The
one-piece input end cap includes a hydraulic input chamber and a
hydraulic output chamber which can be positioned in any one of three
mutually perpendicular directions. The one-piece input end cap also
allows for sensors to be positioned in any one of three mutually
perpendicular directions. In addition, the one-piece input end cap can be
utilized in base-ported or top-ported configurations while also allowing
for side-to-side or side-to-end configurations.