Barnsley won for the first time in the Championship under Poya Asbaghi and ended a six-match losing run with a 1-0 victory at home to Queens Park Rangers on Saturday.
Domingos Quina netted his first goal for the club on 72 minutes to cap a good overall display for the hosts who created the better chances against their promotion-chasing visitors.
It was a first win in 14 league games and cut the gap to safety from eight to five points with 16 fixtures remaining.
Barnsley broke a club record before the game as their changed their line-up for a 25th successive game.
The only change from the midweek loss at Luton Town saw Jordan Williams come in for the injured Liam Kitching.
Williams played on the right of a back three as Barnsley continued with their 3-5-1-1 formation.
Brad Collins kept his place in goal despite a string of recent errors.
QPR had a chance in the first minute but Andre Gray's volley from 15 yards out after meeting a left-wing cross was very weak and easily held by Collins.
Barnsley then played fairly well but were restricted to long-range efforts in the first half.
Carlton Morris saw a low 25-yard shot easily saved by goalkeeper David Marshall then Josh Benson screwed a free-kick well over from a similar distance.
Collins then made a good save to push away Lee Wallace's shot from a tight angle on the left of the six-yard box after the hosts were carved open for the first time in the 26th minute.
Williams surged forwards 50 yards from his half before shooting over from long-range. Bassi and Gomes also shot wide from 25 yards out then Benson's effort from a similar distance was easily held by Marshall.
QPR finished the half well.
Collins dived to his left to keep out an Ilias Chair shot from the edge of the box after good work by Gray and Lyndon Dykes. Chair's right-wing free-kick was sliced horribly wide at the back post by Yoann Barbet who was totally unmarked. Wallace then fired into the side netting from a very tight angle after a wicked cross from the right.
While Barnsley had only managed long-range shots in the first half, they opened QPR up seconds after the break when Domingos Quina played in Callum Styles on the left of the box but the goalkeeper saved at his feet.
Benson then lost the ball deep in his half to Chair who played in Gray but the pass was slightly behind him and Helik got back to make a good block.
Styles shot wide from 22 yards with a low effort and Chair flashed a shot wide at the other end from slightly closer in.
Gomes missed big chance midway through the second half as he scooped a volley over 12 yards out after Quina beat a man on the right of the box then crossed.
Quina's deflected shot from 20 yards out then bounced in off the woodwork to put Barnsley in front for the first time under Asbaghi.
Styles curled wide of the top left corner from just outside the box after Morris won the ball and Cole passed from the right wing.
QPR came close to a leveller in injury-time when Dykes was inches away from heading in Barbet's left-wing cross.
Barnsley (3-5-1-1): Collins, mark out of ten: 7; J Williams 7, Helik 7, Andersen 7; Styles 7, Benson 5 (Palmer 69mins), Gomes 8, Quina 9 (Cole 80), Vita 7; Bassi 7, Morris 7.
Unused: Walton, Moon, Hondermarck, Halme, Wolfe.
Yellow cards: Quina.
Goals: Quina 72.
QPR (3-4-1-2): Marshall; Dickie, Dunne, Barbet; Odubajo, Field, Hendrick (Johansen 62mins), Wallace (Adomah 67); Chair; Gray (Austin 62), Dykes.
Unused: Dieng, Sanderson, Amos, Thomas.
Attendance: 12,476 (1405 from QPR).
Referee: Michael Salisbury (Lancashire)