Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added flexible ordering to the similar tags module #4288

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added ordering parameter
  • Loading branch information
bembelimen committed Sep 17, 2014
commit 02493c0607aa9f2f50ff67b92e8e9225a62de50e
13 changes: 13 additions & 0 deletions modules/mod_tags_similar/mod_tags_similar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@
<option
value="half">MOD_TAGS_SIMILAR_FIELD_HALF</option>
</field>
<field
name="ordering"
type="list"
default="count"
label="MOD_TAGS_SIMILAR_FIELD_ORDERING_LABEL"
description="MOD_TAGS_SIMILAR_FIELD_ORDERING_DESC">
<option
value="count">MOD_TAGS_SIMILAR_FIELD_COUNT</option>
<option
value="random">MOD_TAGS_SIMILAR_FIELD_RANDOM</option>
<option
value="countrandom">MOD_TAGS_SIMILAR_FIELD_COUNT_AND_RANDOM</option>
</field>
</fieldset>
<fieldset
name="advanced">
Expand Down