remove latest photos filter #573

Open
opened 2026-10-05 00:05:16 +02:00 by adam · 1 comment
Owner

I mean the filter=start-recent-7 you enable when you click on the filter icon in the gallery menubar. This filter acts as if photos older than 7 days did not exist.

This feature adds many pieces of code on several places, where the code is already complicated enough.

The sections "recent photos" and "recent albums" do the same job in a much simpler way. The calendar also plays this role. These alternate solutions have much less "code penetration" than "filter".

I made a study on Piwigo.com, which hosts thousands of Piwigo. From February 1st to Februrary 9th, I have found only 23 legitimate "GET /?filter=start-recent" in server logs, among ~20 millions lines. 23 out of 20 millions. That's not much, to say the least.

I mean the filter=start-recent-7 you enable when you click on the filter icon in the gallery menubar. This filter acts as if photos older than 7 days did not exist. This feature adds many pieces of code on several places, where the code is already complicated enough. The sections "recent photos" and "recent albums" do the same job in a much simpler way. The calendar also plays this role. These alternate solutions have much less "code penetration" than "filter". I made a study on Piwigo.com, which hosts thousands of Piwigo. From February 1st to Februrary 9th, I have found only 23 legitimate "GET /?filter=start-recent" in server logs, among ~20 millions lines. 23 out of 20 millions. That's not much, to say the least. <!-- github-sync-id:208105281 -->
Author
Owner

Hi
I have seen several times in my family the need of a filter "not viewed" so
maybe the current code could be changed into such a more useful feature

Le 16 févr. 2017 13:17, "Pierrick Le Gall" notifications@github.com a
écrit :

I mean the filter=start-recent-7 you enable when you click on the filter
icon in the gallery menubar. This filter acts as if photos older than 7
days did not exist.

This feature adds many pieces of code on several places, where the code is
already complicated enough.

The sections "recent photos" and "recent albums" do the same job in a much
simpler way. The calendar also plays this role. These alternate solutions
have much less "code penetration" than "filter".

I made a study on Piwigo.com, which hosts thousands of Piwigo. From
February 1st to Februrary 9th, I have found only 23 legitimate "GET
/?filter=start-recent" in server logs, among ~20 millions lines. 23 out of
23 millions. That's not much, to say the least.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/624, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAs-jTw3GlL8bw5mRfVIclIFKYNbfdrpks5rdD5ZgaJpZM4MC8Mi
.

Hi I have seen several times in my family the need of a filter "not viewed" so maybe the current code could be changed into such a more useful feature Le 16 févr. 2017 13:17, "Pierrick Le Gall" <notifications@github.com> a écrit : > I mean the filter=start-recent-7 you enable when you click on the filter > icon in the gallery menubar. This filter acts as if photos older than 7 > days did not exist. > > This feature adds many pieces of code on several places, where the code is > already complicated enough. > > The sections "recent photos" and "recent albums" do the same job in a much > simpler way. The calendar also plays this role. These alternate solutions > have much less "code penetration" than "filter". > > I made a study on Piwigo.com, which hosts thousands of Piwigo. From > February 1st to Februrary 9th, I have found only 23 legitimate "GET > /?filter=start-recent" in server logs, among ~20 millions lines. 23 out of > 23 millions. That's not much, to say the least. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/624>, or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAs-jTw3GlL8bw5mRfVIclIFKYNbfdrpks5rdD5ZgaJpZM4MC8Mi> > . > <!-- github-comment-id:280316930 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#573