team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00295
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 481: phrase search for sura names
------------------------------------------------------------
revno: 481
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sat 2013-01-05 01:20:31 +0100
message:
phrase search for sura names
modified:
src/alfanous-django/templates/results.html
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous-django/templates/results.html'
--- src/alfanous-django/templates/results.html 2013-01-05 00:01:14 +0000
+++ src/alfanous-django/templates/results.html 2013-01-05 00:20:31 +0000
@@ -195,7 +195,7 @@
<span dir="ltr" class='prev_aya'>
(
{% with ayaresult_content.aya.prev_aya.id|stringformat:"s" as prev_aya_id %}
- {% with 'sura:'|add:ayaresult_content.aya.prev_aya.sura|add:' + aya_id:'|add:prev_aya_id as new_query %}
+ {% with 'sura:"'|add:ayaresult_content.aya.prev_aya.sura|add:'" + aya_id:'|add:prev_aya_id as new_query %}
<a class='no_decoration' href='?{% build_search_link params new_query 1 False %}'>
{% endwith %}
{% endwith %}
@@ -234,7 +234,7 @@
<span dir="rtl" class='main_aya'>
(
{% with ayaresult_content.aya.id|stringformat:"s" as aya_id %}
- {% with 'sura:'|add:ayaresult_content.identifier.sura_name|add:' + aya_id:'|add:aya_id as new_query %}
+ {% with 'sura:"'|add:ayaresult_content.identifier.sura_name|add:'" + aya_id:'|add:aya_id as new_query %}
<a class='no_decoration' href='?{% build_search_link params new_query 1 False %}'>
{% endwith %}
{% endwith %}
@@ -261,7 +261,7 @@
<span dir="ltr" class='next_aya'>
(
{% with ayaresult_content.aya.next_aya.id|stringformat:"s" as next_aya_id %}
- {% with 'sura:'|add:ayaresult_content.aya.next_aya.sura|add:' + aya_id:'|add:next_aya_id as new_query %}
+ {% with 'sura:"'|add:ayaresult_content.aya.next_aya.sura|add:'" + aya_id:'|add:next_aya_id as new_query %}
<a class='no_decoration' href='?{% build_search_link params new_query 1 False %}'>
{% endwith %}
{% endwith %}