mapserver_mod icon indicating copy to clipboard operation
mapserver_mod copied to clipboard

Inconsistent chat message when shops without items found

Open S-S-X opened this issue 5 years ago • 0 comments

https://github.com/minetest-mapserver/mapserver_mod/blob/0ce02a50cb3464fb462401d4e37f603df6f36628/bridge/search.lua#L238-L240

[13:59.51] <pandorabot> <Yang> why does the /search give more results than it shows? i was searching for a shop and it gave me 5 results but showed 3
[14:01.11] <pandorabot> <SX> sounds like a bug in mod
[14:03.41] <pandorabot> <OgelGames@Discord> doesnt show out of stock shops, but must still count them...
[14:04.08] <pandorabot> <Yang> stock shops?
[14:04.20] <pandorabot> <SolDeNoche> shops that are sold o
[14:04.32] <pandorabot> <Yang> oh
[14:07.16] <pandorabot> <SX> chat message could be moved to show_formspec to easily fix result counts and also possibly show how many out of stock shops
were found
[14:08.50] <pandorabot> <SX> or even add separate filtering function before show_formspec, could be better

S-S-X avatar Dec 20 '20 12:12 S-S-X