Need help with making dataset urls open in current tab

Hi guys,
I need some links in my dataset to open in my current tab instead of opening a new tab by default.

Here is my code and an image of my dataset:

import wixData from ‘wix-data’;

$w.onReady( function () {
//TODO: import wixData from ‘wix-data’;
});

export function locationdropdown_change(event) {
let searchLocation = $w(“#locationdropdown”).value;
$w(“#dataset1”).setFilter(wixData.filter().contains(“locations”, searchLocation));
}

export function roledropdown_change(event) {
let searchRoleCategory = $w(“#roledropdown”).value;
$w(“#dataset1”).setFilter(wixData.filter().contains(“roleCategory”, searchRoleCategory));
}

Would be grateful for some advice

You need to use target as well as link, so that the code knows to open in new page or same tab.
https://www.wix.com/corvid/reference/$w.LinkableMixin.html

Thank you so much for the reply! Do you know where I should put this in my code or if I should include any references to anything?