Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2017-07-25 18:43:23

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 48
Website

Search result without duplicates

Hi,

I have some photos that are present in several albums. Is it possible during a search, to tell Backlight not to display duplicates?


Thanks
Nico

Offline

#2 2017-07-25 19:46:27

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 4,914
Website

Re: Search result without duplicates

The search doesn't filter for duplicates. It simply checks for hits in each albums and displays the results.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#3 2017-07-25 19:55:35

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 48
Website

Re: Search result without duplicates

Ah OK, I thought there would be a way to tweak a code of the following style:

$sql = "SELECT distinct filename from my_table";
$res = mysql_query($sql);

while($row = mysql_fetch_array($res))
{
    echo $row['filename'].'<br /><br />';
}

Thanks
Nico

Offline

#4 2017-08-10 20:55:52

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,193

Re: Search result without duplicates

This is something we could add via a Publisher setting (e.g. Remove Duplicate Photos in Search).  I've added it to our feature list for possible future updates.

Offline

#5 2017-08-10 21:47:10

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 48
Website

Re: Search result without duplicates

Whao Cool !
Thanks Ben

Last edited by Nico3939 (2017-08-10 21:47:20)

Offline

Board footer

Powered by FluxBB