Fix: [ bug #1163 ] SQL Error when searching for supplier orders

Conflicts:
	ChangeLog