Raku / modules.raku.org

Source code for modules.raku.org - Raku module listing
https://modules.raku.org/
Artistic License 2.0
27 stars 27 forks source link

“You can link to a search query, like so:” #55

Closed AlexDaniel closed 8 years ago

AlexDaniel commented 8 years ago

It says:

You can link to a search query, like so: http://modules.perl6.org/#q=Test

Why not provide the current link instead of rather useless link to q=Test? :)

zoffixznet commented 8 years ago

The link looks fine to me. What's the issue with it?

AlexDaniel commented 8 years ago

If you type “Hello world” into the search form then it should say:

You can link to a search query, like so: http://modules.perl6.org/#q=Hello+World

However, I've just noticed that it actually changes the current url right in the browser. That's probably good enough.

zoffixznet commented 8 years ago

Ah, I see the confusion. That's just a site tip and it's not aware of what's currently typed in the search box. It just randomly pulls one tip from this file: https://github.com/perl6/modules.perl6.org/blob/master/site-tips.txt